[137072] trunk/dports/print/ghostscript/Portfile

larryv at macports.org larryv at macports.org
Wed Jun 3 22:53:56 PDT 2015


Revision: 137072
          https://trac.macports.org/changeset/137072
Author:   larryv at macports.org
Date:     2015-06-03 22:53:56 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
ghostscript: Use argument expansion instead of `eval`

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:53 UTC (rev 137071)
+++ trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:56 UTC (rev 137072)
@@ -77,8 +77,8 @@
     }
 
     #move ${workpath}/MappingOther/Adobe-CNS1-ETen-B5 ${workpath}/MappingOther/Adobe-CNS1-ETenms-B5
-    eval copy -force [glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
-    eval copy -force [glob ${workpath}/mappingresources4pdf_other/*]    ${worksrcpath}/Resource/CMap
+    copy -force {*}[glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
+    copy -force {*}[glob ${workpath}/mappingresources4pdf_other/*]    ${worksrcpath}/Resource/CMap
 }
 
 post-patch {
@@ -118,7 +118,7 @@
 
     xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
     foreach f {*.afm *.gsf *.pfa *.pfm} {
-        eval xinstall -m 644 [glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
+        xinstall -m 644 {*}[glob ${workpath}/fonts/${f}] ${destroot}${prefix}/share/${name}/fonts
     }
 
     xinstall -m 755 -d ${destroot}${prefix}/share/doc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/2728a156/attachment.html>


More information about the macports-changes mailing list