[134818] trunk/dports/graphics/lib2geom/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Apr 7 19:22:17 PDT 2015
Revision: 134818
https://trac.macports.org/changeset/134818
Author: ryandesign at macports.org
Date: 2015-04-07 19:22:17 -0700 (Tue, 07 Apr 2015)
Log Message:
-----------
lib2geom: use system's -W argument instead of running "cd"; use ${worksrcpath}; use expand operator instead of eval
Modified Paths:
--------------
trunk/dports/graphics/lib2geom/Portfile
Modified: trunk/dports/graphics/lib2geom/Portfile
===================================================================
--- trunk/dports/graphics/lib2geom/Portfile 2015-04-08 02:04:06 UTC (rev 134817)
+++ trunk/dports/graphics/lib2geom/Portfile 2015-04-08 02:22:17 UTC (rev 134818)
@@ -50,12 +50,12 @@
port:doxygen
post-build {
- system "cd ${workpath}/${name}-${version} && ${prefix}/bin/doxygen"
+ system -W ${worksrcpath} "${prefix}/bin/doxygen"
}
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}/html
- eval xinstall -m 644 [glob ${workpath}/${name}-${version}/doc/html/*] \
+ xinstall -m 644 {*}[glob ${worksrcpath}/doc/html/*] \
${destroot}${prefix}/share/doc/${name}/html
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150407/7e56ac2f/attachment.html>
More information about the macports-changes
mailing list