# $Id: Portfile 85229 2011-10-11 23:55:23Z jmr@macports.org $

PortSystem          1.0

name                kaffe
version             1.1.7
categories          lang
license             GPL-2+
maintainers         nomaintainer
platforms           darwin
description         A complete java VM and class library.
long_description    This is Kaffe, a complete virtual machine and class \
                    library set which allows the execution of Java code. \
                    It comes with a virtual machine and a set of class \
                    libraries including beans, and an AWT graphics system.

homepage            http://www.kaffe.org
master_sites        ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/

checksums           md5 375c3dc44656f3f253455ea219f768b1

configure.cflags-append     -fstrict-aliasing \
                            -funroll-loops \
                            -L${prefix}/lib
configure.cppflags-append   -L${prefix}/lib \
                            -I${prefix}/include/freetype2
configure.args      --disable-nls \
                    --disable-rpath \
                    --disable-debug \
                    --with-engine=intrp \
                    --mandir=${prefix}/share/man \
                    --x-includes=${prefix}/include \
                    --x-libraries=${prefix}/lib

platform darwin {
    supported_archs i386 ppc
}

depends_build       port:jikes \
                    port:pkgconfig
depends_lib         port:esound \
                    port:gmp \
                    port:gtk2 \
                    port:libart_lgpl \
                    port:freetype \
                    port:xorg-libXtst \
                    port:xorg-libsm

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
