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

github.setup            mevdschee 2048.c 1.0.3 v
github.tarball_from     archive
revision                0
categories              games
license                 MIT
maintainers             {@TheRealKeto gmail.com:therealketo} openmaintainer

description             Terminal version of 2048
long_description        {*}${description}.

checksums               rmd160  a4587733c07d066767a7687520cde6c5056fad1e \
                        sha256  f26b2af87c03e30139e6a509ef9512203f4e5647f3225b969b112841a9967087 \
                        size    19190

compiler.c_standard     1999

test.run                yes
test.target             test

destroot {
    xinstall -m 755 ${worksrcpath}/2048 ${destroot}${prefix}/bin/c2048
}

notes "
${name} has been renamed to c2048 to prevent any conflicts with
other ports that provide a 2048 binary, like ${name}pp
"
