PortSystem          1.0

name                tilp2
version             1.18
license             GPL-2
categories          math
maintainers         nomaintainer
description         Texas Instruments calculators linking program
long_description    Program to communicate with Texas Instruments (TI) calculators, based on gtk2
homepage            http://lpg.ticalc.org/prj_tilp/
platforms           darwin

master_sites        sourceforge:tilp

checksums           rmd160  433edb66a15f1cdb3487c34bbbd2b2ac31570fb7 \
                    sha256  7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47 \
                    size    536744

patchfiles          patch-remove-kde.diff

use_bzip2           yes

depends_build       port:pkgconfig \
                    port:intltool \
                    bin:groff:groff

depends_lib         port:libiconv \
                    port:libticonv \
                    port:libtifiles2 \
                    port:libticables2 \
                    port:libticalcs2 \
                    port:gettext \
                    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                    port:libglade2

use_autoreconf      yes

configure.args      --without-kde

livecheck.type      regex
livecheck.url       https://sourceforge.net/projects/tilp/rss?path=/tilp2-linux
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
