1 | # $Id: Portfile 30227 2007-10-22 22:55:58Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name xqf |
---|
5 | version 1.0.5 |
---|
6 | categories games |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer |
---|
9 | homepage http://www.linuxgames.com/xqf/ |
---|
10 | description GTK+ Front-end to Qstat |
---|
11 | |
---|
12 | long_description XQF is a game server browser and launcher for \ |
---|
13 | Unix/X11 for many popular games such as the \ |
---|
14 | Quake series, Unreal Tournament series, Half-Life \ |
---|
15 | etc. |
---|
16 | |
---|
17 | master_sites sourceforge |
---|
18 | |
---|
19 | patchfiles patch-xqf-1.0.5 |
---|
20 | patch.pre_args -p1 |
---|
21 | |
---|
22 | checksums md5 a88cecba6abb6349107ab135f1009946 \ |
---|
23 | sha1 052351ff26cf2f79f6bc2de5aacf63e76a02eb62 \ |
---|
24 | rmd160 159b9cd02a15fe3b1afd78952152adf5aaafc0c2 |
---|
25 | |
---|
26 | depends_lib lib:libgtk.1:gtk1 \ |
---|
27 | lib:libgdk-pixbuf:gdk-pixbuf \ |
---|
28 | port:p5-xml-parser \ |
---|
29 | lib:libreadline:readline |
---|
30 | |
---|
31 | depends_run port:qstat |
---|
32 | |
---|
33 | configure.args --with-qstat=${prefix}/bin/qstat \ |
---|
34 | --enable-bzip2 \ |
---|
35 | --enable-externalrcon \ |
---|
36 | --disable-geoip |
---|
37 | |
---|
38 | post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} |
---|
39 | xinstall -m 644 -v -W ${worksrcpath} \ |
---|
40 | AUTHORS BUGS COPYING NEWS README TODO \ |
---|
41 | ${destroot}${prefix}/share/doc/${name} |
---|
42 | file copy ${worksrcpath}/docs/xqfdocs.html \ |
---|
43 | ${destroot}${prefix}/share/doc/${name} |
---|
44 | } |
---|
45 | |
---|
46 | variant gtk2 { depends_lib-delete lib:libgtk.1:gtk1 |
---|
47 | depends_lib-append lib:libgtk.2:gtk2 |
---|
48 | configure.args-append --enable-gtk2 |
---|
49 | } |
---|
50 | |
---|
51 | |
---|