# -*- 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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           love 1.0

github.setup        Stabyourself notpacman 1.0.4 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
checksums           rmd160  bdab948722b110468437ef768af3026b04de8a48 \
                    sha256  4a2c4d84ad713f505a89a14eea5184e76ea5378eb08698da41afc6c4021ead13 \
                    size    5009093

categories          games
maintainers         {ryandesign @ryandesign} openmaintainer
license             WTFPL-2

description         Pacman with physics

long_description    Ever wonder what Pacman would be like with physics? No? \
                    Well, it's revolutionary. This mashup of \"Not\" and \
                    \"Pacman\" puts The Pac and the Ghosts in a Pacworld \
                    cage, at mercy of gravity and the level's shape, \
                    controlled solely by you. Ghosts still don't like you very \
                    much, so you should be careful to make Pacman avoid them.

homepage            https://stabyourself.net/notpacman/
# The love 0.8-compatible code is not on GitHub, only in the Mac download of
# 1.0.4 on the web site. The Windows and Linux downloads of 1.0.4 are different
# and require love 0.7 and more closely match the 1.0 tag on GitHub.
livecheck.version   1.0
master_sites        https://stabyourself.net/dl.php?file=${name}-1004/${name}-osx.zip&dummy=
distname            ${name}-osx-${version}
use_zip             yes

love.branch         0.8

extract.mkdir       yes
love.extract        Not Pacman.app/Contents/Resources/not_pacman.love

love.exclude        LICENSE.txt

app.name            Not Pacman
app.icon            Not Pacman.app/Contents/Resources/Love.icns
app.identifier      net.stabyourself.${name}
