# $Id: Portfile,v 1.1 2004/01/18 02:54:43 mww Exp $

PortSystem 1.0

name		circuslinux
version		1.0.3
categories	games
platforms	darwin
maintainers	mww@opendarwin.org
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.sonic.net/pub/users/nbs/unix/x/circus-linux/src/
distname	circuslinux-${version}
checksums	md5 d53f7d28d974c5605d6bebb9b1569216
patchfiles	patch-circuslinux.c.diff

depends_lib	bin:sdl-config:libsdl \
		lib:libSDL_image:libsdl_image \
		lib:libSDL_mixer:libsdl_mixer

configure.args	--host=powerpc-apple-darwin

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}
}
