source: trunk/dports/games/gnubg/Portfile @ 6620

Last change on this file since 6620 was 5761, checked in by matt, 16 years ago

Oops, forgot to add something. wow.

  • Property svn:eol-style set to native
File size: 1.8 KB
RevLine 
[5761]1# $Id: Portfile,v 1.5 2004/03/10 02:52:21 matt Exp $
[4200]2
3PortSystem 1.0
4name                    gnubg
5version                 0.13.0
[5760]6revision                2
[4200]7categories              games
8platforms               darwin
9maintainers             matt@opendarwin.org
[5760]10homepage                http://www.gnu.org/software/gnubg/gnubg.html
[4200]11description             GNU Backgammon
12
13long_description        GNU Backgammon (gnubg) is a software for playing and analysing \
14                        backgammon positions, games and matches. It's based on a neural \
15                        network. Although it already plays at a very high level, it's \
16                        still work in progress. You can play at GNU Backgammon using the \
17                        command line or via a graphical interface based (on GTK+).
18
19master_sites            ftp://alpha.gnu.org/gnu/${name}/ \
20                        http://public.planetmirror.com/pub/gnu-alpha/${name}/ \
[5760]21                        ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/${name}/
[4200]22                       
[4233]23distfiles               ${distname}.tar.gz ${name}.weights-0.13a.gz
[4200]24extract.only            ${distname}.tar.gz
25                       
26checksums               ${name}-${version}.tar.gz md5 91db5727b6589dbfd410e6ce1683fa95 \
27                        ${name}.weights-0.13a.gz md5 5ea773401747c895149027bbfcfdc3d7
28
29depends_lib             lib:libgtk.2:gtk2
30
31post-extract {          cd ${worksrcpath}
32                        system "cp ${distpath}/${name}.weights-0.13a.gz ."
33                        system "gzip -d ${name}.weights-0.13a.gz"
34                        system "mv ${name}.weights-0.13a ${name}.weights"
35                        }
36
37configure.env           CPPFLAGS="-I${prefix}/include" \
38                        CFLAGS="-lmx" \
39                        LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib -lX11 \
40                        -bind_at_load -multiply_defined suppress"
41                       
42
43configure.args          --mandir=${prefix}/share/man \
44                        --infodir=${prefix}/share/info \
45                        --sysconfdir=${prefix}/etc \
46                        --libdir=${prefix}/lib \
47                        --disable-esdtest \
48                        --disable-artsc-test \
49                        --without-libintl-prefix
50
[5761]51post-destroot {         file mkdir ${destroot}${prefix}/share/doc/${name}
52                        file copy ${worksrcpath}/README \
[5760]53                                ${destroot}${prefix}/share/doc/${name}
[4200]54                        }
55
56variant gdbm {          depends_lib-append      lib:libgdbm:gdbm
57                        configure.args-append   --with-gdbm
58                        }
59
Note: See TracBrowser for help on using the repository browser.