# $Id: Portfile 51351 2009-05-23 11:50:11Z and.damore@macports.org $

PortSystem          1.0

name                tiemu3
version             3.02
categories          math
maintainers         and.damore
description         TI89 /Titanium/92/92+/V200 multi-platform emulator
long_description    TiEmu is a full-featured TI89 /Titanium/92/92+/V200 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_tilp/
platforms           darwin

distname			tiemu-${version}
master_sites        sourceforge:gtktiemu
use_bzip2			yes

checksums           md5     3e8240b7d829c6d8168a97b5a5b28521 \
                    sha1    a533a427236413aeaa4f6feac253c45a9b293b36 \
                    rmd160  584a8982c2bb052201026931fe9981096c0113a4

depends_build       port:pkgconfig \
                    bin:grep:grep \
                    bin:groff:groff
depends_lib         port:libiconv \
					port:libticonv \
					port:libtifiles2 \
					port:libticables2 \
                    port:libticalcs2 \
                    port:gettext \
                    port:gtk2 \
                    port:libglade2

patchfiles			patch-keynames.c
patch.pre_args      -p1

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

pre-destroot		{ system "chmod +x ${worksrcpath}/install-sh " }
