[117704] trunk/dports/games/crafty/Portfile
larryv at macports.org
larryv at macports.org
Sat Mar 8 11:29:34 PST 2014
Revision: 117704
https://trac.macports.org/changeset/117704
Author: larryv at macports.org
Date: 2014-03-08 11:29:34 -0800 (Sat, 08 Mar 2014)
Log Message:
-----------
crafty: Remove unnecessary custom extract phase (timeout, #41338).
Modified Paths:
--------------
trunk/dports/games/crafty/Portfile
Modified: trunk/dports/games/crafty/Portfile
===================================================================
--- trunk/dports/games/crafty/Portfile 2014-03-08 18:17:38 UTC (rev 117703)
+++ trunk/dports/games/crafty/Portfile 2014-03-08 19:29:34 UTC (rev 117704)
@@ -60,13 +60,10 @@
rmd160 ccfedc1511a0ae523e16f94d9818abb29b1ea188 \
sha256 7c6c217431abb178ed53a6f9f949a2412a9bf30be856077b30dfbc13d426ca0e
-depends_build bin:unzip:unzip
+use_zip yes
+extract.only ${dist_srczip}
-extract {
- file mkdir work
-
- # extract the src zip
- system "cd ${workpath} && unzip ${distpath}/${dist_srczip}"
+post-patch {
reinplace "s|IPHONE|__APPLE__|g" ${worksrcpath}/chess.h
reinplace -E "s|BOOKDIR \+\".\"|BOOKDIR \"${prefix}/share/crafty\"|g" ${worksrcpath}/chess.h
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140308/acb3fa6e/attachment.html>
More information about the macports-changes
mailing list