source: trunk/dports/games/gnushogi/Portfile @ 31257

Last change on this file since 31257 was 31257, checked in by takanori@…, 12 years ago

gnushogi: Linted.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 31257 2007-11-19 05:24:03Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            gnushogi
6version         1.3.2
7categories      games
8maintainers     takanori
9description     GNU version of Shogi, a game of Japanese chess.
10long_description \
11                ${description}
12platforms       darwin
13homepage        http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html
14master_sites    http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/
15patchfiles      patch-gnushogi_gnushogi.h.diff
16checksums       md5 a18eae93afc89bfd368ed5f6768be791 \
17                sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \
18                rmd160 b177d2843f42490d33665f3a167068c64bc64214
19
20depends_lib     lib:libncurses:ncurses \
21                lib:libX11:XFree86
22
23configure.args  --with-x --with-xshogi
24
25destroot {
26    xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi
27
28    xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin
29    xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi
30    xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6
31    eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info
32
33    xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin
34    xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6
35}
36
37livecheck.check regex
38livecheck.url   ${homepage}
39livecheck.regex GNU shogi (\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.