# $Id: Portfile 30227 2007-10-22 22:55:58Z jmpp@macports.org $

PortSystem 1.0

name		vectoroids
version		1.1.0
categories	games
platforms	darwin
maintainers	nomaintainer
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/
checksums	md5 c63ce56b09aa7da9a6e95d804e9ee314

depends_lib	lib:libsdl:libsdl \
		lib:libsdl_mixer:libsdl_mixer \
		lib:libsdl_image:libsdl_image

use_configure	no

build.env	CFLAGS=-I${prefix}/include \
		LDFLAGS=-L${prefix}/lib

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

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

post-destroot	{
	file mkdir ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/COPYING.txt \
		${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}
}

