# $Id: Portfile 83932 2011-09-13 05:17:02Z ryandesign@macports.org $

PortSystem 1.0
PortGroup	app 1.0

name		supertux
version		0.1.3
revision	1
categories	games
platforms	darwin
maintainers	freebsd.org:adamw
license		GPL-2+

description	classic 2D jump and run sidescroller SuperMario clone
long_description	SuperTux is a classic 2D jump and run sidescroller \
			game in a similar style like the original SuperMario \
			games.

homepage	http://supertux.berlios.de/
master_sites	http://download.berlios.de/supertux/
checksums	md5 f2fc288459f33d5cd8f645fbca737a63
use_bzip2	yes

patchfiles	patch-src_menu.h \
		patch-src_texture.h

depends_lib	path:lib/pkgconfig/sdl.pc:libsdl \
		port:libmikmod \
		port:libsdl_mixer \
		port:libsdl_image

configure.args	--disable-sdltest

platform darwin	{
	patchfiles-append	patch-src_setup.cpp
	configure.args-append	--with-apple-opengl-framework
}

app.name	SuperTux
app.icon	supertux.png
