# -*- 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.5 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  42a4e58d90b9d3dc440064800ef1b40dbba828f2 \
                        sha256  83b9008dc77d7ab2ad721d7316551fb015dce97c40337a354040fe45d8296fd4 \
                        size    19381

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
"
