PortSystem          1.0

name                netpanzer
categories          games
license             GPL-2+
version             0.8.2
platforms           darwin
maintainers         nomaintainer

description         netPanzer is an online multiplayer tactical warfare game.
long_description \
                    netPanzer is a game designed to fit into the real-time \
                    tactical game genre. It's art is based on realistic \
                    environments and vehicles. Battle will heat up as players \
                    challenge for territory, and without the need for resource \
                    management battles will emerge swiftly.

homepage            http://netpanzer.berlios.de/
master_sites        http://download.berlios.de/netpanzer/
checksums           md5     3f446403ac7e72ed0ff9e093517c83d3 \
                    sha1    99b0a79ffe4c8bf3a155c7555dff06e00def4023 \
                    rmd160  3a39a309d3fd3170e37558de982d3ab6ea77ceb3

use_bzip2           yes

patchfiles          patch-fd_set.diff \
                    patch-msg_nosignal.diff \
                    patch-sockaddr.diff

depends_build       port:jam
depends_lib         port:libsdl_net \
                    port:libsdl_ttf \
                    port:libsdl_mixer \
                    port:libsdl_image \
                    port:physfs

configure.args      --disable-sdltest

build.cmd           jam
build.target

destroot.pre_args
destroot.args       -sprefix=${destroot}${prefix} install
destroot.post_args

livecheck.type      regex
livecheck.url       ${homepage}download.html
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar\\.bz2
