diff options
author | tonio <tonio@pkgsrc.org> | 2006-04-16 22:16:36 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2006-04-16 22:16:36 +0000 |
commit | cff0e6a933fcfabbd417135a04f7c0e595c16e42 (patch) | |
tree | e87866c46f2d97bfd7e7c5d7725694de2c3b7f57 /lang | |
parent | 7ce59e13192f74f3c7536a53a3ec2169e0444dd0 (diff) | |
download | pkgsrc-cff0e6a933fcfabbd417135a04f7c0e595c16e42.tar.gz |
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.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/jamvm/DESCR | 6 | ||||
-rw-r--r-- | lang/jamvm/Makefile | 39 | ||||
-rw-r--r-- | lang/jamvm/PLIST | 9 | ||||
-rw-r--r-- | lang/jamvm/distinfo | 5 |
4 files changed, 59 insertions, 0 deletions
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 |