# $Id: Portfile 19815 2006-10-01 02:06:07Z takanori@macports.org $ PortSystem 1.0 name gnushogi version 1.3.2 categories games maintainers takanori@macports.org description GNU version of Shogi, a game of Japanese chess. long_description ${description} platforms darwin homepage http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html master_sites http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/ checksums md5 a18eae93afc89bfd368ed5f6768be791 \ sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \ rmd160 b177d2843f42490d33665f3a167068c64bc64214 patchfiles patch-gnushogi.h depends_lib lib:libncurses:ncurses \ lib:libX11:XFree86 configure.args --with-x --with-xshogi destroot { xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6 eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6 } livecheck.check regex livecheck.url ${homepage} livecheck.regex GNU shogi (\[0-9.\]+)