PortSystem 1.0
PortGroup app 1.0

name		vectoroids
version		1.1.0
revision	1
categories	games
platforms	darwin
maintainers	nomaintainer
license		GPL-2+

description	Vector-based rock-shooting Asteroids clone game
long_description	Vectoroids is a vector-based rock-shooting game \
			similar to the arcade classic Asteroids. It is an SDL \
			game based on the source for Agendaroids, an X-Window \
			game written for the Agenda VR3 Linux-based PDA \
			written by the same author.

homepage	http://www.newbreedsoftware.com/vectoroids/
master_sites	ftp://ftp.sonic.net/pub/users/nbs/unix/x/vectoroids/src/ \
		freebsd
checksums	md5 c63ce56b09aa7da9a6e95d804e9ee314

depends_lib	port:libsdl \
		port:libsdl_mixer \
		port:libsdl_image

use_configure	no

variant universal {}
build.env	"CC=${configure.cc} [get_canonical_archflags]"

build.args	JOY=NO \
		PREFIX=${prefix}

destroot.args	PREFIX=${destroot}${prefix} \
		MAN_PREFIX=${destroot}${prefix}/share

post-destroot	{
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
	        ${destroot}${prefix}/share/doc/${name}
}

app.icon	data/images/icon.png
app.identifier	com.newbreedsoftware.Vectoroids
