[87228] trunk/dports/python/py-graph-tool/Portfile
Revision: 87228 http://trac.macports.org/changeset/87228 Author: mmoll@macports.org Date: 2011-11-14 06:15:18 -0800 (Mon, 14 Nov 2011) Log Message: ----------- py-graph-tool: allow graphviz-devel to satisfy dependency, move variant and post-destroot inside != check Modified Paths: -------------- trunk/dports/python/py-graph-tool/Portfile Modified: trunk/dports/python/py-graph-tool/Portfile =================================================================== --- trunk/dports/python/py-graph-tool/Portfile 2011-11-14 13:40:59 UTC (rev 87227) +++ trunk/dports/python/py-graph-tool/Portfile 2011-11-14 14:15:18 UTC (rev 87228) @@ -40,7 +40,7 @@ depends_lib-append port:boost \ port:cgal \ port:expat \ - port:graphviz \ + path:bin/dot:graphviz \ port:py${python.version}-numpy \ port:py${python.version}-scipy use_configure yes @@ -69,19 +69,19 @@ ${configure.compiler} == "macports-gcc-4.3"} { configure.cxxflags-append -DCGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES } -} -# not supported by clang at the moment -variant openmp description {Add support for openmp} { - configure.args-append --enable-openmp -} + # not supported by clang at the moment + variant openmp description {Add support for openmp} { + configure.args-append --enable-openmp + } -post-destroot { - xinstall -d ${destroot}${python.pkgd} - file rename ${destroot}${prefix}/lib/python${python.branch}/site-packages/graph_tool \ - ${destroot}${python.pkgd} - file rename ${destroot}${prefix}/doc/graph-tool \ - ${destroot}${prefix}/share/doc/graph-tool + post-destroot { + xinstall -d ${destroot}${python.pkgd} + file rename ${destroot}${prefix}/lib/python${python.branch}/site-packages/graph_tool \ + ${destroot}${python.pkgd} + file rename ${destroot}${prefix}/doc/graph-tool \ + ${destroot}${prefix}/share/doc/graph-tool + } } if {$name == $subport} {
participants (1)
-
mmoll@macports.org