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

name                kmasterpiece
github.setup        lostjared Qt4.Apps 0782c286b4a48302d677ff9ea882c80d2559d6fa
version             20170319
revision            0
categories          games
maintainers         nomaintainer
license             GPL

description         Simple Tetris-like game
long_description    This is not a port of Masterpiece but a recode of the game using Qt4. \
                    The program runs on a variety of platforms supported by  Qt4.

checksums           rmd160  adc61c976c2639998949a8837e8e4041c5e837b8 \
                    sha256  82a7364165d4adca35d086f72c301c2c781ceaff64299c475963d0db84d63c74 \
                    size    2606253
github.tarball_from archive

worksrcdir          ${worksrcpath}/${name}

destroot {
    copy ${worksrcpath}/data ${worksrcpath}/${name}.app/Contents/MacOS
    move ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app
}
