# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem              1.0

name                    monster-masher
version                 1.7
description             Monster Masher is an action game for the Gnome desktop environment.
long_description        Monster Masher is an action game for the Gnome desktop \
                        environment. The basic idea is that you, as levitation \
                        worker gnome, has to clean the caves for monsters that \
                        want to roll over you. You do the cleaning by mashing \
                        the monsters with stone blocks.
maintainers             nomaintainer
categories              gnome games
platforms               darwin
homepage                http://people.iola.dk/olau/monster-masher/
master_sites            ${homepage}source
use_bzip2               yes
checksums               md5 2fd7df60c87041ff8fcf03944ae01ed0
depends_lib             lib:libgnomeuimm-2:libgnomeuimm

configure.cppflags-append \
    -L${prefix}/lib
configure.cflags-append \
    -no-cpp-precomp \
    -flat_namespace \
    -undefined suppress
configure.ldflags-append \
    -lesd

livecheck.type          regex
livecheck.url           ${master_sites}
livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
