# -*- 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 orthorobot 48f07423950b29a94b04aefe268f2f951f55b62e
version             1.1.1
revision            1
checksums           rmd160  c755566ce5647864c397f033912a984e0f6a1ce6 \
                    sha256  5dc27877867a4d29083f26fda8f6fcf2c31b072617747a4faefa563f984c906a \
                    size    3403729

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

description         perspective-based puzzle game

long_description    Literally bridging the gap between 2D and 3D games, Ortho \
                    Robot is a perspective-based puzzle game, where you \
                    flatten the view to move across gaps. Your objective is to \
                    reach the ending green block (either by standing directly \
                    on it or standing on it in relative space). For some extra \
                    challenge, try to collect all coins and perfect your time, \
                    steps and number of warps.

homepage            https://stabyourself.net/orthorobot/
github.tarball_from archive

depends_build       port:ImageMagick7

# https://github.com/Stabyourself/orthorobot/pull/3
# https://github.com/Stabyourself/orthorobot/pull/4
love.branch         0.10

love.exclude        LICENSE.txt \
                    README.md

app.name            Ortho Robot
app.icon            ${workpath}/icon.png
app.identifier      net.stabyourself.ortho-robot

post-build {
    system -W ${workpath} \
        "${prefix}/lib/ImageMagick7/bin/magick [shellescape ${worksrcdir}/winplayer.png] -filter box -resize 512x512 icon.png"
}
