[32666] trunk/dports/games/gnubg/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Jan 10 06:12:28 PST 2008
Revision: 32666
http://trac.macosforge.org/projects/macports/changeset/32666
Author: ryandesign at macports.org
Date: 2008-01-10 06:12:25 -0800 (Thu, 10 Jan 2008)
Log Message:
-----------
gnubg: don't use deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/games/gnubg/Portfile
Modified: trunk/dports/games/gnubg/Portfile
===================================================================
--- trunk/dports/games/gnubg/Portfile 2008-01-10 13:33:13 UTC (rev 32665)
+++ trunk/dports/games/gnubg/Portfile 2008-01-10 14:12:25 UTC (rev 32666)
@@ -32,10 +32,9 @@
port:readline \
port:pkgconfig
-post-extract { cd ${worksrcpath}
- system "cp ${distpath}/${name}.weights-0.14.gz ."
- system "gzip -d ${name}.weights-0.14.gz"
- system "mv ${name}.weights-0.14 ${name}.weights"
+post-extract { copy ${distpath}/${name}.weights-0.14.gz ${worksrcpath}
+ system "cd ${worksrcpath} && gzip -d ${name}.weights-0.14.gz"
+ move ${worksrcpath}/${name}.weights-0.14 ${worksrcpath}/${name}.weights
}
patchfiles patch-configure.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080110/f2c34c05/attachment.html
More information about the macports-changes
mailing list