[149932] trunk/dports/science/OpenCSG/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 5 17:35:44 PDT 2016
Revision: 149932
https://trac.macports.org/changeset/149932
Author: ryandesign at macports.org
Date: 2016-07-05 17:35:44 -0700 (Tue, 05 Jul 2016)
Log Message:
-----------
OpenCSG: use expansion operator instead of eval
Modified Paths:
--------------
trunk/dports/science/OpenCSG/Portfile
Modified: trunk/dports/science/OpenCSG/Portfile
===================================================================
--- trunk/dports/science/OpenCSG/Portfile 2016-07-05 23:48:47 UTC (rev 149931)
+++ trunk/dports/science/OpenCSG/Portfile 2016-07-06 00:35:44 UTC (rev 149932)
@@ -38,8 +38,8 @@
build.target sub-src-all
destroot {
- eval file copy [glob ${worksrcpath}/lib/*] ${destroot}${prefix}/lib
- eval file copy [glob ${worksrcpath}/include/*] ${destroot}${prefix}/include
+ copy {*}[glob ${worksrcpath}/lib/*] ${destroot}${prefix}/lib
+ copy {*}[glob ${worksrcpath}/include/*] ${destroot}${prefix}/include
system "install_name_tool -id ${prefix}/lib/libopencsg.[lindex [split ${version} .] 0].dylib ${destroot}${prefix}/lib/libopencsg.dylib"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160705/615add72/attachment-0001.html>
More information about the macports-changes
mailing list