a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21858 2007-02-10 17:02:53Z rhwood@macports.org $
PortSystem 1.0
name supertux
version 0.1.3
categories games
platforms darwin
maintainers adamw@freebsd.org
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_texture.h
depends_lib bin:sdl-config:libsdl \
lib:libmikmod:libmikmod \
lib:libSDL_mixer:libsdl_mixer \
lib:libSDL_image:libsdl_image
variant darwin {
configure.args --with-apple-opengl-framework
post-destroot {
xinstall -d -m 755 ${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS
system "ln -sf ${prefix}/bin/supertux \
${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS/SuperTux"
}
}