PortSystem 1.0

name		circuslinux
version		1.0.3
categories	games
license		GPL-2+
platforms	darwin
maintainers	nomaintainer
description	Circus Atari clone, similar to Breakout and Arkanoid
long_description	Circus Linux is based on the Atari 2600 game Circus \
			Atari by Atari, released in 1980.  Gameplay is similar \
			to Breakout and Arkanoid - you slide a device left and \
			right to bounce objects into the air which destroy a \
			wall.

homepage	http://www.newbreedsoftware.com/circus-linux/
master_sites	ftp://ftp.billsgames.com/unix/x/circus-linux/src/
checksums	md5 d53f7d28d974c5605d6bebb9b1569216
patchfiles	patch-circuslinux.c.diff

depends_lib	port:libsdl port:libsdl_image port:libsdl_mixer
depends_build   port:libtool

pre-configure {
    xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
}

configure.args	--disable-sdltest

build.args	TARGET_DEF=foo

destroot.destdir	prefix=${destroot}${prefix}

post-destroot	{
	file rename ${destroot}${prefix}/share/doc/circuslinux-1.0.3 \
		${destroot}${prefix}/share/doc/${name}
}
