From cff0e6a933fcfabbd417135a04f7c0e595c16e42 Mon Sep 17 00:00:00 2001 From: tonio Date: Sun, 16 Apr 2006 22:16:36 +0000 Subject: Import lang/jamvm from wip JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book). In comparison to most other VM's (free and commercial) it is extremely small, with a stripped executable on PowerPC of only ~135K, and Intel 100K. However, unlike other small VMs (e.g. KVM) it is designed to support the full specification, and includes support for object finalisation, the Java Native Interface (JNI) and the Reflection API. --- lang/jamvm/DESCR | 6 ++++++ lang/jamvm/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ lang/jamvm/PLIST | 9 +++++++++ lang/jamvm/distinfo | 5 +++++ 4 files changed, 59 insertions(+) create mode 100644 lang/jamvm/DESCR create mode 100644 lang/jamvm/Makefile create mode 100644 lang/jamvm/PLIST create mode 100644 lang/jamvm/distinfo (limited to 'lang') diff --git a/lang/jamvm/DESCR b/lang/jamvm/DESCR new file mode 100644 index 00000000000..13543f8b68c --- /dev/null +++ b/lang/jamvm/DESCR @@ -0,0 +1,6 @@ +JamVM is a new Java Virtual Machine which conforms to the JVM specification +version 2 (blue book). In comparison to most other VM's (free and commercial) +it is extremely small, with a stripped executable on PowerPC of only ~135K, +and Intel 100K. However, unlike other small VMs (e.g. KVM) it is designed to +support the full specification, and includes support for object finalisation, +the Java Native Interface (JNI) and the Reflection API. diff --git a/lang/jamvm/Makefile b/lang/jamvm/Makefile new file mode 100644 index 00000000000..456faa33e20 --- /dev/null +++ b/lang/jamvm/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/16 22:16:36 tonio Exp $ +# + +DISTNAME= jamvm-1.4.2 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jamvm/} + +MAINTAINER= pancake@phreaker.net +HOMEPAGE= http://jamvm.sourceforge.net/ +COMMENT= Compact Java Virtual Machine + +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_PREFIX= ${JAVA_HOME} +GNU_CONFIGURE_MANDIR= ${PREFIX}/${PKGMANDIR} +JAVA_HOME= ${PREFIX}/java/jamvm +JAVA_NAME= jamvm +JAVA_WRAPPERS+= java +JAVA_WRAPPER_BIN.java= ${JAVA_HOME}/bin/jamvm +CONFIGURE_ARGS+= --with-classpath-install-dir=${PREFIX}/ +USE_TOOLS+= gmake + +DEPENDS+= classpath>=0.19:../../lang/classpath + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Linux" +. if ${MACHINE_ARCH} == "i386" +MACHINE_GNU_PLATFORM=i686-pc-linux-gnu +. endif +.endif +.if ${OPSYS} == "NetBSD" +MACHINE_GNU_PLATFORM=${MACHINE_ARCH}-foo-openbsd +.endif + +.include "../../devel/libffi/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/java-env.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/jamvm/PLIST b/lang/jamvm/PLIST new file mode 100644 index 00000000000..2e32965093f --- /dev/null +++ b/lang/jamvm/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/16 22:16:36 tonio Exp $ +java/jamvm/bin/jamvm +java/jamvm/include/jni.h +java/jamvm/share/jamvm/classes.zip +@dirrm java/jamvm/share/jamvm +@dirrm java/jamvm/share +@dirrm java/jamvm/include +@dirrm java/jamvm/bin +@dirrm java/jamvm diff --git a/lang/jamvm/distinfo b/lang/jamvm/distinfo new file mode 100644 index 00000000000..67af17c7ae1 --- /dev/null +++ b/lang/jamvm/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/16 22:16:36 tonio Exp $ + +SHA1 (jamvm-1.4.2.tar.gz) = cfda95e52261d58e535a0c8ec03878304e9560c7 +RMD160 (jamvm-1.4.2.tar.gz) = ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 +Size (jamvm-1.4.2.tar.gz) = 285593 bytes -- cgit v1.2.3