[142585] trunk/dports/graphics/giflib/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 06:22:50 PST 2015


Revision: 142585
          https://trac.macports.org/changeset/142585
Author:   ryandesign at macports.org
Date:     2015-11-16 06:05:53 -0800 (Mon, 16 Nov 2015)
Log Message:
-----------
giflib: use expansion operator instead of eval

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

Modified: trunk/dports/graphics/giflib/Portfile
===================================================================
--- trunk/dports/graphics/giflib/Portfile	2015-11-16 14:02:13 UTC (rev 142584)
+++ trunk/dports/graphics/giflib/Portfile	2015-11-16 14:05:53 UTC (rev 142585)
@@ -32,14 +32,14 @@
 post-destroot {
     xinstall -d ${destroot}${docdir}
     xinstall -W ${worksrcpath} AUTHORS BUGS COPYING NEWS README TODO api.txt history.txt ${destroot}${docdir}
-    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1
+    xinstall -m 644 {*}[glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1
 }
 
 variant doc description {Install HTML documentation} {
     depends_build-append        port:xmlto
     post-destroot {
         xinstall -d ${destroot}${docdir}/html
-        eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${destroot}${docdir}/html
+        xinstall -m 644 {*}[glob ${worksrcpath}/doc/*.html] ${destroot}${docdir}/html
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b23d6d35/attachment.html>


More information about the macports-changes mailing list