# -*- 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
# $Id$

PortSystem          1.0

name                t4k_common
version             0.1.1
set download_id     3540
revision            3
categories          devel
platforms           darwin
maintainers         nomaintainer
license             GPL-3+

description         shared code for Tux4Kids apps "TuxMath" and "Tux Typing"

long_description    ${name} is a common library for routines used in TuxMath \
                    and Tux Typing.

homepage            http://tux4kids.alioth.debian.org/
master_sites        https://alioth.debian.org/frs/download.php/file/${download_id}/

checksums           sha1    626eddedee86059ccab593a226c8d98571018b46 \
                    rmd160  6c0332ea44e4a44021c645e5b4329c2efd377fed

depends_build       port:pkgconfig
depends_lib         port:libsdl \
                    port:libsdl_image \
                    port:libsdl_mixer \
                    port:libsdl_net \
                    port:libsdl_ttf \
                    port:libsdl_pango \
                    port:libxml2 \
                    port:librsvg \
                    port:libpng \
                    port:gettext

patchfiles          patch-linewrap_fix.diff
patchfiles-append   patch-libpng-1.5.diff

configure.args      --disable-sdltest

livecheck.type      regex
livecheck.url       https://alioth.debian.org/frs/?group_id=31080
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}