[32661] trunk/dports/games/wtf/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 05:18:47 PST 2008


Revision: 32661
          http://trac.macosforge.org/projects/macports/changeset/32661
Author:   ryandesign at macports.org
Date:     2008-01-10 05:17:32 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
wtf: don't use deprecated 'cd' command

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

Modified: trunk/dports/games/wtf/Portfile
===================================================================
--- trunk/dports/games/wtf/Portfile	2008-01-10 13:09:48 UTC (rev 32660)
+++ trunk/dports/games/wtf/Portfile	2008-01-10 13:17:32 UTC (rev 32661)
@@ -18,15 +18,14 @@
 use_configure	no
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr|${prefix}|g" wtf wtf.6
+    reinplace "s|/usr|${prefix}|g" ${worksrcpath}/wtf ${worksrcpath}/wtf.6
 }
 
 destroot {
-    xinstall -m 555 wtf ${destroot}${prefix}/bin
-    xinstall -m 444 wtf.6 ${destroot}${prefix}/share/man/man6
+    xinstall -m 555 -W ${worksrcpath} wtf ${destroot}${prefix}/bin
+    xinstall -m 444 -W ${worksrcpath} wtf.6 ${destroot}${prefix}/share/man/man6
 
     xinstall -d ${destroot}${prefix}/share/misc
-    xinstall -m 444 acronyms acronyms.comp ${destroot}${prefix}/share/misc
+    xinstall -m 444 -W ${worksrcpath} acronyms acronyms.comp ${destroot}${prefix}/share/misc
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080110/a4da33a5/attachment.html


More information about the macports-changes mailing list