# $Id: Portfile 34495 2008-02-26 23:20:30Z mww@macports.org $

PortSystem 1.0

name			jamvm
version			1.5.0
categories		lang java
platforms		darwin
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
}
