# $Id: Portfile 58210 2009-09-24 06:56:08Z ryandesign@macports.org $

PortSystem 1.0

name		barrage
version		1.0.2
categories	games
platforms	darwin
maintainers	nomaintainer
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:lgames
checksums	md5 5dbecef907eb27215e8cc047eae2ee90 \
		sha1 9a9014002ea7f0b09f47258f10ebc0dac039a1ba \
		rmd160 3bcaf81a62e25deb0b00947b6b3caa2f9feca1c1

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

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

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