[70705] trunk/dports/net/tsocks/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Aug 17 15:22:50 PDT 2010


Revision: 70705
          http://trac.macports.org/changeset/70705
Author:   ryandesign at macports.org
Date:     2010-08-17 15:22:49 -0700 (Tue, 17 Aug 2010)
Log Message:
-----------
tsocks: do not need foreach loop to install multiple files; use xinstall -W

Modified Paths:
--------------
    trunk/dports/net/tsocks/Portfile

Modified: trunk/dports/net/tsocks/Portfile
===================================================================
--- trunk/dports/net/tsocks/Portfile	2010-08-17 22:21:18 UTC (rev 70704)
+++ trunk/dports/net/tsocks/Portfile	2010-08-17 22:22:49 UTC (rev 70705)
@@ -51,9 +51,7 @@
     eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
     
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks
-    foreach doc { COPYING ChangeLog FAQ INSTALL TODO } {
-        xinstall -m 644 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/tsocks/${doc}
-    }
+    xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ INSTALL TODO ${destroot}${prefix}/share/doc/tsocks
 }
 
 notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100817/867f1100/attachment.html>


More information about the macports-changes mailing list