Ticket #9786: Portfile

File Portfile, 1.2 KB (added by pierre@…, 18 years ago)

Portfile

Line 
1# $Id: $
2
3PortSystem          1.0
4
5name                eboard
6categories          games
7version             0.9.5
8platforms           darwin
9maintainers         pierre@queinnec.org
10description         eboard is a chess interface just like xboard.
11
12long_description    \
13    eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD, \
14    Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess board \
15    interface to ICS (Internet Chess Servers) like FICS and to chess \
16    engines like GNU Chess, Sjeng and Crafty.
17
18homepage            http://eboard.sourceforge.net
19master_sites        sourceforge:eboard
20use_bzip2           yes
21
22checksums           md5 4adb12cdea3d4106bf05dead61969e3f
23
24depends_build       port:imlib port:gtk1
25
26destroot {
27        xinstall -m 755 -W ${worksrcpath} eboard eboard-config \
28                eboard-addtheme ${destroot}${prefix}/bin/
29        xinstall -m 644 -W ${worksrcpath} eboard.6 \
30                ${destroot}/${prefix}/share/man/man6/
31        xinstall -m 444 -W ${worksrcpath} eboard-addtheme.1 \
32                eboard-config.1 ${destroot}${prefix}/share/man/man1/
33
34
35        set eboard_datadir ${destroot}${prefix}/share/${name}
36        xinstall -d ${eboard_datadir}
37        xinstall -m 644 -W ${worksrcpath} classic.png ghouls.png \
38                plastic.png eboard_themes.conf NAG.en.txt \
39                ${eboard_datadir}/
40}