[148409] trunk/dports/graphics/argyll/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat May 7 09:55:28 PDT 2016


Revision: 148409
          https://trac.macports.org/changeset/148409
Author:   ryandesign at macports.org
Date:     2016-05-07 09:55:28 -0700 (Sat, 07 May 2016)
Log Message:
-----------
argyll: use expand operator instead of eval

Modified Paths:
--------------
    trunk/dports/graphics/argyll/Portfile

Modified: trunk/dports/graphics/argyll/Portfile
===================================================================
--- trunk/dports/graphics/argyll/Portfile	2016-05-07 12:05:01 UTC (rev 148408)
+++ trunk/dports/graphics/argyll/Portfile	2016-05-07 16:55:28 UTC (rev 148409)
@@ -85,7 +85,7 @@
 
     # Install binaries
     delete ${worksrcpath}/bin/License.txt
-    eval xinstall -m 755 [glob ${worksrcpath}/bin/*] \
+    xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] \
         ${destroot}${prefix}/bin
 
     # Install headers
@@ -93,7 +93,7 @@
     foreach thisdir {cgats gamut h icc imdi jcnf numlib plot \
                          render rspl scanin spectro target \
                          ucmm xicc} {
-        eval xinstall -m 644 [glob ${worksrcpath}/${thisdir}/*.h] \
+        xinstall -m 644 {*}[glob ${worksrcpath}/${thisdir}/*.h] \
             ${destroot}${prefix}/include/${name}
     }
     # correct some headers: #include <../Y/X> -> <X>
@@ -103,12 +103,12 @@
     }
 
     # Install libraries
-    eval xinstall -m 644 [glob ${worksrcpath}/lib/lib*] \
+    xinstall -m 644 {*}[glob ${worksrcpath}/lib/lib*] \
         ${destroot}${prefix}/lib
 
     # Install references
     xinstall -m 755 -d ${destroot}${prefix}/share/${name}/ref
-    eval xinstall -m 644 [glob ${worksrcpath}/ref/*] \
+    xinstall -m 644 {*}[glob ${worksrcpath}/ref/*] \
         ${destroot}${prefix}/share/${name}/ref
 
     # xinstall does not remove 'quarantine' attribute;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160507/f0ab60c3/attachment-0001.html>


More information about the macports-changes mailing list