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

name                lpairs2
version             2.1
categories          games
maintainers         nomaintainer
license             GPL-2+

description         Classical memory game.

long_description    LPairs is a classical memory game. This means you have \
                    to find pairs of identical cards which will then be \
                    removed. Your time and tries needed will be counted \
                    but there is no highscore chart or limit to this.

homepage            http://lgames.sourceforge.net/index.php?project=LPairs
master_sites        sourceforge:lgames

checksums           rmd160  4e16a349e9ce680551e4b7ac849e2fc5b5a31d09 \
                    sha256  df92980e73d63a334fbbdc33f405af481028d6d7550e8ec8d93371b711394518 \
                    size    11913120

patchfiles-append   patch-uint.diff

pre-build {
    system -W ${worksrcpath} "chmod 755 install-sh"
}

depends_lib         port:gettext \
                    port:libsdl2 \
                    port:libsdl2_ttf \
                    port:libsdl2_image \
                    port:libsdl2_mixer

# cc1plus: error: unrecognized command line option "-std=c++11"
compiler.cxx_standard 2011

configure.libs      -lintl

app.name            LPairs2
app.icon            lpairs2.png
app.identifier      net.sourceforge.lgames.${app.name}
