source: trunk/dports/games/liquidwar/Portfile

Last change on this file was 97481, checked in by raimue@…, 5 years ago

devel/allegro, games/liquidwar, games/xmoto:
Drop maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 97481 2012-09-07 09:21:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            liquidwar
6version         5.6.4
7revision        1
8categories      games
9platforms       darwin
10license         GPL-2+
11maintainers     nomaintainer
12description     A unique multiplayer wargame
13long_description \
14        Liquid War is a unique multiplayer wargame. \
15        You control an army of liquid and have to try and eat your opponents. \
16        The rules of Liquid War are truely original and have been invented \
17        by Thomas Colcombet. A single player mode is available, but the \
18        game is definitely designed to be multiplayer, and has network support.
19
20homepage        http://www.ufoot.org/liquidwar/
21master_sites    http://www.ufoot.org/download/${name}/v5/${version} \
22                http://download.savannah.nongnu.org/releases/liquidwar/
23checksums       md5 6917dd1026e6685404ffbd086f8ba374
24
25depends_build   port:gmake
26depends_lib     port:allegro
27
28patchfiles      patch-headless-build.diff
29
30post-patch {
31    reinplace -E "s|^GAMEDIR =(.*)$|GAMEDIR = \$(exec_prefix)/bin|" ${worksrcpath}/Makefile.in
32    reinplace -E "s|^GAMEDIR =(.*)$|GAMEDIR = \$(exec_prefix)/bin|" ${worksrcpath}/src/Makefile.in
33
34    reinplace -E "s|^DATADIR =(.*)$|DATADIR = \$(datadir)/liquidwar|" ${worksrcpath}/Makefile.in
35    reinplace -E "s|^DATADIR =(.*)$|DATADIR = \$(datadir)/liquidwar|" ${worksrcpath}/src/Makefile.in
36}
37
38# Allegro does not compile 64-bit due to NS* stuff, so we have to do 32-bit
39supported_archs i386 ppc
40
41configure.cflags-append     -DALLEGRO_UNIX
42configure.args-append       --disable-target-opt --disable-asm
43build.args                  CFLAGS="-DALLEGRO_UNIX -arch ${configure.build_arch}" LDFLAGS="-arch ${configure.build_arch}" \
44                            DOC_TXT=no DOC_HTML=no DOC_MAN=yes DOC_INFO=no DOC_PS=no DOC_PDF=no
45destroot.target             install_nolink
46
47livecheck.type  regex
48livecheck.url   http://www.ufoot.org/download/liquidwar/v5/
49livecheck.regex {(5\.[0-9.]+)}
Note: See TracBrowser for help on using the repository browser.