a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name Gomoku
version 1.2.6
categories games aqua gnustep
platforms darwin
maintainers nomaintainer@macports.org
description extended TicTacToe game
long_description Gomoku.app is an extended TicTacToe game for GNUstep. \
You win the game if you are able to put 5 of your \
pieces in a row, column or diagonal. You loose if the \
computer does it before you. You can play the game on \
boards of different size\; the default size is 8 but \
10 is also nice to play. The game has 6 different \
difficulty levels.
homepage http://www.gnustep.it/nicola/Applications/Gomoku/
master_sites ${homepage}:s \
http://www.opendarwin.org/~mww/files/:p
distfiles ${distname}${extract.suffix}:s \
${distname}_aqua${extract.suffix}:p
checksums ${distname}${extract.suffix} \
md5 a6be66bed95483ecc6cfbde1ae746435 \
${distname}_aqua${extract.suffix} \
md5 0ed8a07fd4c2455651a6a5b630165b88
patchfiles patch-Board.m.diff \
patch-Controller.h.diff \
patch-Controller.m.diff \
patch-GomokuInfo.plist.diff \
patch-main.m.diff
use_configure no
post-extract {
file copy ${workpath}/English.lproj/MainMenu.nib \
${worksrcpath}/English.lproj
file copy ${workpath}/French.lproj/MainMenu.nib \
${worksrcpath}/French.lproj
file copy ${workpath}/German.lproj/MainMenu.nib \
${worksrcpath}/German.lproj
file copy ${workpath}/Italian.lproj/MainMenu.nib \
${worksrcpath}/Italian.lproj
file copy ${workpath}/Spanish.lproj/MainMenu.nib \
${worksrcpath}/Spanish.lproj
file copy ${workpath}/Swedish.lproj/MainMenu.nib \
${worksrcpath}/Swedish.lproj
file copy ${workpath}/GNUstep.h ${workpath}/about.png \
${workpath}/Gomoku.pbproj ${worksrcpath}
}
build.type pbx
build.target
destroot {
file mkdir ${destroot}/Applications/MacPorts
file copy ${worksrcpath}/build/Default/Gomoku.app \
${destroot}/Applications/MacPorts
}