Portfile

# $Id: Portfile 21687 2007-02-02 18:06:05Z jmpp@macports.org $

PortSystem 1.0

name toppler
version 1.1.1
categories games
platforms darwin
maintainers jmpp@macports.org openmaintainer@macports.org

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
checksums md5 913fe90fcb15f3d6a12d5194a0db2b7d

depends_lib port:gettext\
port:libiconv\
port:zlib\
port:libsdl\
port:libsdl_mixer

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

build.args LDFLAGS="-lintl -L${prefix}/lib -bind_at_load"