# -*- 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
# $Id: Portfile 86627 2011-10-30 11:46:19Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           app 1.0

name                barrage
version             1.0.4
categories          games
platforms           darwin
maintainers         nomaintainer
license             GPL-2+

description         Action game with objective to destroy tanks, jeeps, etc.

long_description    Barrage is a rather violent action game with the \
                    objective to kill and destroy as many targets as \
                    possible within 3 minutes. You control a gun that may \
                    either fire small or large grenades at soldiers, jeeps \
                    and tanks. Targets are fast paced and require careful \
                    aiming as it takes half a second to reload the gun. \
                    Additionally you have to keep an eye on your ammo and \
                    reload in time.

homepage            http://lgames.sourceforge.net/index.php?project=Barrage
master_sites        sourceforge:project/lgames/barrage

checksums           rmd160  09d86969662aa7835c62dc192776f44b745eadbd \
                    sha256  ad74e049dfded3bca28b8dc1c5870408cfad9e024b35cc5b501ba90486d9af25

depends_lib         path:lib/pkgconfig/sdl.pc:libsdl \
                    port:libsdl_mixer

configure.args      --disable-sdltest

post-destroot {
    file delete -force ${destroot}${prefix}/share/applications
}

app.icon            barrage48.png
app.identifier      net.sourceforge.lgames.${app.name}

livecheck.type      regex
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
