source: trunk/dports/games/xqf/Portfile

Last change on this file was 151840, checked in by mojca@…, 15 months ago

xqf: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151840 2016-08-23 12:09:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           perl5 1.0
7
8name                xqf
9version             1.0.5
10revision            5
11perl5.branches      5.24
12categories          games
13platforms           darwin
14maintainers         nomaintainer
15license             GPL-2+
16
17homepage            https://xqf.github.io/
18description         GTK+ Front-end to Qstat
19
20long_description    XQF is a game server browser and launcher for \
21                    Unix/X11 for many popular games such as the \
22                    Quake series, Unreal Tournament series, Half-Life \
23                    etc.
24
25master_sites        sourceforge
26
27patchfiles          patch-Makefile.am.diff \
28                    patch-Makefile.in.diff \
29                    patch-src-loadpixmap_c.diff \
30                    patch-src-game_c.diff \
31                    patch-src-launch_c.diff
32
33checksums           rmd160  159b9cd02a15fe3b1afd78952152adf5aaafc0c2 \
34                    sha256  ee0ab9a40516c55d9f00e65ab06b1c6669f0de858bc8a7416e6993a76c0d9b67
35
36depends_build       port:pkgconfig
37depends_lib         port:gdk-pixbuf \
38                    port:gtk1 \
39                    port:p${perl5.major}-xml-parser \
40                    port:readline
41
42depends_run         port:qstat
43
44configure.args      --mandir=${prefix}/share/man \
45                    --with-qstat=${prefix}/bin/qstat \
46                    --enable-bzip2 \
47                    --enable-externalrcon \
48                    --disable-geoip
49
50# Undefined symbols: "_get_debug_level"
51configure.cflags-append -std=gnu89
52
53post-destroot {
54    file mkdir ${destroot}${prefix}/share/doc/${name}
55    xinstall -m 644 -v -W ${worksrcpath} \
56    AUTHORS BUGS COPYING NEWS README TODO \
57        ${destroot}${prefix}/share/doc/${name}
58    file copy ${worksrcpath}/docs/xqfdocs.html \
59        ${destroot}${prefix}/share/doc/${name}
60}
61
62variant gtk2 description {Use GTK2} {
63    depends_lib-delete      port:gdk-pixbuf \
64                            port:gtk1
65    depends_lib-append      port:gdk-pixbuf2 \
66                            port:gtk2
67    require_active_variants gdk-pixbuf2 x11
68    configure.args-append   --enable-gtk2
69}
70
71default_variants    +gtk2
Note: See TracBrowser for help on using the repository browser.