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

name                tiemu3
version             3.03
revision            1
checksums           rmd160  88bc445977f5301bb6c57b19df3e982b5f703068 \
                    sha256  92d2830842278a8df29ab0717f5b89e06b34e88a50c073fe10ff9e6855b8a592 \
                    size    2749976

license             GPL-2
categories          math
maintainers         nomaintainer
description         Texas Instruments TI89, Titanium, TI-92, TI-92+, Voyager 200 multi-platform emulator
long_description    TiEmu is a full-featured TI89, Titanium, TI-92, TI-92+, Voyager 200 multi-platform \
                    emulator with an html manual. It offers: popup menu, screenshots, ASM/C \
                    debugger, link port, saving state and some other stuffs.

homepage            http://lpg.ticalc.org/prj_tiemu/
master_sites        sourceforge:project/gtktiemu/tiemu-linux/TIEmu%20${version}

distname            tiemu-${version}-nogdb
worksrcdir          tiemu-${version}

depends_build       port:pkgconfig \
                    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 \
                    port:libsdl

patchfiles          patch-calc.diff \
                    patch-dbg_all.diff \
                    patch-dbg_bkpts.diff \
                    patch-dbg_code.diff \
                    patch-dbg_dock.diff \
                    patch-dbg_heap.diff \
                    patch-dbg_iop.diff \
                    patch-dbg_mem.diff \
                    patch-dbg_pclog.diff \
                    patch-dbg_regs.diff \
                    patch-dbg_stack.diff \
                    patch-dbg_wnds.diff \
                    patch-gtk_disable_deprecated.diff \
                    patch-screen.diff \
                    abort.patch

configure.args-append       --without-kde --disable-debugger --disable-gdb \
                            --disable-sdltest
