[99812] trunk/dports/devel/codesearch/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 18 01:33:06 PST 2012


Revision: 99812
          https://trac.macports.org/changeset/99812
Author:   ryandesign at macports.org
Date:     2012-11-18 01:33:06 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
codesearch: avoid a foreach in the destroot block

Modified Paths:
--------------
    trunk/dports/devel/codesearch/Portfile

Modified: trunk/dports/devel/codesearch/Portfile
===================================================================
--- trunk/dports/devel/codesearch/Portfile	2012-11-18 09:30:40 UTC (rev 99811)
+++ trunk/dports/devel/codesearch/Portfile	2012-11-18 09:33:06 UTC (rev 99812)
@@ -44,9 +44,7 @@
 }
 
 destroot {
-    foreach prog ${progs} {
-      xinstall ${worksrcpath}/${prog} ${destroot}${prefix}/bin
-    }
+    eval xinstall -W ${worksrcpath} ${progs} ${destroot}${prefix}/bin
 
     xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall ${worksrcpath}/LICENSE \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/0fb28b9d/attachment.html>


More information about the macports-changes mailing list