# $Id: Portfile,v 1.3 2005/07/05 21:56:47 mww Exp $

PortSystem 1.0

name			jamvm
version			1.3.1
categories		lang java
platforms		darwin
maintainers		mww@opendarwin.org
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		md5 cceb887aec78fee99773949ede34759e

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
}
