[105210] trunk/dports/lang/phobos/Portfile

takeshi at macports.org takeshi at macports.org
Sat Apr 13 02:50:26 PDT 2013


Revision: 105210
          https://trac.macports.org/changeset/105210
Author:   takeshi at macports.org
Date:     2013-04-13 02:50:26 -0700 (Sat, 13 Apr 2013)
Log Message:
-----------
phobos: cleanup using eval xinstall. See #35862.

Modified Paths:
--------------
    trunk/dports/lang/phobos/Portfile

Modified: trunk/dports/lang/phobos/Portfile
===================================================================
--- trunk/dports/lang/phobos/Portfile	2013-04-13 09:44:13 UTC (rev 105209)
+++ trunk/dports/lang/phobos/Portfile	2013-04-13 09:50:26 UTC (rev 105210)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        D-Programming-Language phobos 2.062 v
+revision            1
 categories          lang
 platforms           darwin
 license             Boost-1
@@ -47,9 +48,7 @@
         ${destroot}${prefix}/lib
     xinstall -d -m 755 ${destroot}${prefix}/include
     xinstall -d -m 755 ${destroot}${prefix}/include/${name}
-    foreach f [glob ${worksrcpath}/*.d] {
-        xinstall -m 644 ${f} ${destroot}${prefix}/include/${name}
-    }
+    eval xinstall -m 644 [glob ${worksrcpath}/*.d] ${destroot}${prefix}/include/${name}
     file copy ${worksrcpath}/etc ${destroot}${prefix}/include/${name}
     file copy ${worksrcpath}/std ${destroot}${prefix}/include/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130413/2270ecaa/attachment.html>


More information about the macports-changes mailing list