Skip to content
Permalink
Browse files

crafty: Remove unnecessary custom extract phase (timeout, https://tra…

  • Loading branch information
larryv committed Mar 8, 2014
1 parent eb84cb6 commit a24ec339cc627c1befc3f3d9f43a2fab25ba27fa
Showing with 3 additions and 6 deletions.
  1. +3 −6 games/crafty/Portfile
@@ -60,13 +60,10 @@ checksums \
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
}

0 comments on commit a24ec33

Please sign in to comment.
You can’t perform that action at this time.