# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 83023 2011-08-23 22:52:13Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               app 1.0

name                    SDLInvaders
version                 0.8.0
revision                1
categories              games
platforms               darwin
maintainers             nomaintainer
license                 GPL-2+
installs_libs           no

description             simple clone of the famous Space Invaders game.
long_description        ${description}

# no better homepage available, sf.net only has outdated versions
homepage                http://sourceforge.net/projects/sdlinvaders
master_sites            fink

checksums               rmd160  ff58486e240e8e9e1a6d02ae0aefe8b38b5df3c4 \
                        sha256  621e67f6329668822319760ced9da5bb7e283faf1dcf0898fb326f362852071c

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

configure.args          --disable-sdltest

post-destroot {
    file attributes ${destroot}${prefix}/share/SDLInvaders/highscores -permissions +w
}

app.identifier          net.sourceforge.sdlinvaders.${app.name}
