# $Id$

PortSystem 1.0

name			jamvm
version			1.5.0
categories		lang java
platforms		darwin
supported_archs	i386 ppc ppc64
license			GPL-2+
maintainers		nomaintainer
description		compact Java 2 Virtual Machine
long_description	JamVM is a new Java Virtual Machine which conforms to the \
				JVM specification version 2 (blue book). In comparison to most \
				other VMs it is extremely small.

homepage		http://jamvm.sourceforge.net/
master_sites	sourceforge
checksums		sha1 35b29d09635ec95efdee4eaab815c4bbf4130147

depends_run		port:gnu-classpath

configure.args	--with-classpath-install-dir=${prefix}/share/java

post-destroot {
	xinstall -m 755 ${filespath}/java ${destroot}${prefix}/bin
	reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/java
}

livecheck.type	regex
livecheck.url	http://sourceforge.net/projects/jamvm/files/
livecheck.regex	${name}-(\[0-9.\]+)\\.tar