[89683] trunk/dports/games/fortune/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Feb 6 11:25:26 PST 2012


Revision: 89683
          http://trac.macports.org/changeset/89683
Author:   ryandesign at macports.org
Date:     2012-02-06 11:25:26 -0800 (Mon, 06 Feb 2012)
Log Message:
-----------
fortune: simplify destroot using `xinstall -W`

Modified Paths:
--------------
    trunk/dports/games/fortune/Portfile

Modified: trunk/dports/games/fortune/Portfile
===================================================================
--- 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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120206/a3a0dee8/attachment.html>


More information about the macports-changes mailing list