# $Id: Portfile 58210 2009-09-24 06:56:08Z ryandesign@macports.org $

PortSystem              1.0

name                    lmarbles
version                 1.0.7
categories              games
platforms               darwin
maintainers             nomaintainer

description             Atomix clone with slight change in concept.
long_description        LMarbles is an Atomix clone with a slight change in \
                        concept. Instead of assembling molecules you create \
                        figures out of marbles. Nevertheless, the basic game \
                        play is the same: If a marble starts to move it will \
                        not stop until it hits a wall or another marble. To \
                        make it more interesting there are obstacles like \
                        one-way streets, crumbling walls and portals. \
                        As Marbles is meant as a puzzle game you play against \
                        a move limit and not a time limit. This way you have \
                        as much time as you need to think.

homepage                http://lgames.sourceforge.net/index.php?project=LMarbles
master_sites            sourceforge:lgames

checksums               md5 b29156bc5021877d080e5e268012f4ec

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

configure.args          --mandir=${prefix}/share/man \
                        --enable-ascii \
                        --with-profile-path=${prefix}/var/lib/games/ \
                        --disable-sdltest

platform darwin {
    pre-destroot {
        xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS
        ln -s ${prefix}/bin/lmarbles \
            ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles
    }
}
