Revision
89683
Author
ryandesign@macports.org
Date
2012-02-06 11:25:26 -0800 (Mon, 06 Feb 2012)

Log Message

fortune: simplify destroot using `xinstall -W`

Modified Paths

Diff

Modified: trunk/dports/games/fortune/Portfile (89682 => 89683)


--- trunk/dports/games/fortune/Portfile	2012-02-06 19:23:51 UTC (rev 89682)
+++ trunk/dports/games/fortune/Portfile	2012-02-06 19:25:26 UTC (rev 89683)
@@ -52,9 +52,8 @@
 
 destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/games/fortune
-    xinstall -m 755 ${worksrcpath}/fortune/fortune \
-        ${worksrcpath}/strfile/strfile ${worksrcpath}/unstr/unstr \
-        ${destroot}${prefix}/bin
+    xinstall -m 755 -W ${worksrcpath} fortune/fortune strfile/strfile \
+        unstr/unstr ${destroot}${prefix}/bin
     xinstall -m 644 ${worksrcpath}/fortune/fortune.6.gz \
         ${destroot}${prefix}/share/man/man6
     xinstall -m 644 ${worksrcpath}/strfile/strfile.8.gz \