diff --git a/trunk/dports/games/crafty/Portfile b/trunk/dports/games/crafty/Portfile
a
|
b
|
|
60 | 60 | rmd160 ccfedc1511a0ae523e16f94d9818abb29b1ea188 \ |
61 | 61 | sha256 7c6c217431abb178ed53a6f9f949a2412a9bf30be856077b30dfbc13d426ca0e |
62 | 62 | |
63 | | depends_build bin:unzip:unzip |
64 | | |
65 | | extract { |
66 | | file mkdir work |
67 | | |
68 | | # extract the src zip |
69 | | system "cd ${workpath} && unzip ${distpath}/${dist_srczip}" |
| 63 | use_zip yes |
| 64 | extract.only ${dist_srczip} |
| 65 | post-extract { |
70 | 66 | reinplace "s|IPHONE|__APPLE__|g" ${worksrcpath}/chess.h |
71 | 67 | reinplace -E "s|BOOKDIR \+\".\"|BOOKDIR \"${prefix}/share/crafty\"|g" ${worksrcpath}/chess.h |
72 | 68 | } |