# $Id: Portfile 84135 2011-09-19 11:26:24Z ryandesign@macports.org $

PortSystem 1.0
PortGroup       app 1.0

name		toppler
version		1.1.5
categories	games
platforms	darwin
maintainers	jmpp openmaintainer
license         GPL-2+

description	Reimplementation of the old Tower Topler or Nebulus game.
long_description	In this game you have to help a cute little green animal\
			switch off some kind of "evil" mechanism. The "power off\
			switch" is hidden somewhere in high towers. On your way to\
			the target you need to avoid a lot of strange robots that\
			guard the tower.

homepage	http://toppler.sourceforge.net/
master_sites	sourceforge:project/toppler/toppler

checksums	rmd160  1bea7cedc8857ade3f7c7ce8c2b6aaab076329e5 \
		sha256  26cab477cfc427827fc4dc584271148ba4d14b5a5f12c1752e262b795d814167

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

patchfiles	patch-Makefile.in.diff

configure.args		--mandir=${prefix}/share/man --with-sdl-prefix=${prefix} \
			--with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix} \
			--disable-sdltest

app.icon	${filespath}/toppler.png
