mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
JamVM is an extremely small Java Virtual Machine which conforms to the
JVM specification version 2 (blue book). It is designed to support the full specification, and includes support for object finalisation, Soft/Weak/Phantom References, class-unloading, the Java Native Interface (JNI) and the Reflection API. WWW: http://jamvm.sourceforge.net/ PR: ports/122312 Submitted by: Bjoern Koenig <bkoenig@alpha-tierchen.de>
This commit is contained in:
parent
d1cb897b70
commit
ae57c5178f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210499
5 changed files with 93 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
||||||
SUBDIR += jakarta-oro
|
SUBDIR += jakarta-oro
|
||||||
SUBDIR += jakarta-regexp
|
SUBDIR += jakarta-regexp
|
||||||
SUBDIR += jakarta-struts
|
SUBDIR += jakarta-struts
|
||||||
|
SUBDIR += jamvm
|
||||||
SUBDIR += jasmin
|
SUBDIR += jasmin
|
||||||
SUBDIR += java-checkstyle
|
SUBDIR += java-checkstyle
|
||||||
SUBDIR += java-cup
|
SUBDIR += java-cup
|
||||||
|
|
46
java/jamvm/Makefile
Normal file
46
java/jamvm/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# New ports collection makefile for: jamvm
|
||||||
|
# Date created: 31 March 2008
|
||||||
|
# Whom: Bjoern Koenig
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= jamvm
|
||||||
|
PORTVERSION= 1.5.1
|
||||||
|
CATEGORIES= java devel
|
||||||
|
MASTER_SITES= SF
|
||||||
|
|
||||||
|
MAINTAINER= bkoenig@alpha-tierchen.de
|
||||||
|
COMMENT= A compact Java virtual machine
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ARGS= --with-classpath-install-dir=${LOCALBASE}
|
||||||
|
USE_GMAKE= yes
|
||||||
|
|
||||||
|
OPTIONS= FFI "use libffi to call native methods" ON \
|
||||||
|
ZIP "turn-on zip support in the bootstrap loader" ON
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_FFI)
|
||||||
|
LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi
|
||||||
|
CONFIGURE_ARGS+= --enable-ffi
|
||||||
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} `pkg-config libffi --cflags`" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_ZIP)
|
||||||
|
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
||||||
|
PLIST_SUB+= WITH_ZIP="" WITHOUT_ZIP="@comment "
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-zip
|
||||||
|
PLIST_SUB+= WITH_ZIP="@comment " WITHOUT_ZIP=""
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
@${MV} ${WRKSRC}/src/arch/x86_64.h ${WRKSRC}/src/arch/amd64.h
|
||||||
|
|
||||||
|
post-configure:
|
||||||
|
@${MV} ${WRKSRC}/src/os/bsd/x86_64 ${WRKSRC}/src/os/bsd/amd64
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
3
java/jamvm/distinfo
Normal file
3
java/jamvm/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MD5 (jamvm-1.5.1.tar.gz) = 5a82751b50391eb092c906ce64f3b6bf
|
||||||
|
SHA256 (jamvm-1.5.1.tar.gz) = 663895bd69caf3a1fda6af5eea8263d90a5fd35ca8f4c32e2210ac410788901a
|
||||||
|
SIZE (jamvm-1.5.1.tar.gz) = 599084
|
8
java/jamvm/pkg-descr
Normal file
8
java/jamvm/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
JamVM is an extremely small Java Virtual Machine which conforms to the
|
||||||
|
JVM specification version 2 (blue book).
|
||||||
|
|
||||||
|
It is designed to support the full specification, and includes support
|
||||||
|
for object finalisation, Soft/Weak/Phantom References, class-unloading,
|
||||||
|
the Java Native Interface (JNI) and the Reflection API.
|
||||||
|
|
||||||
|
WWW: http://jamvm.sourceforge.net/
|
35
java/jamvm/pkg-plist
Normal file
35
java/jamvm/pkg-plist
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
bin/jamvm
|
||||||
|
include/jni.h
|
||||||
|
lib/libjvm.la
|
||||||
|
lib/libjvm.a
|
||||||
|
%%WITH_ZIP%%lib/rt.jar
|
||||||
|
%%WITH_ZIP%%share/jamvm/classes.zip
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/VMClassLoaderData.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/JarLauncher.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/VMClassLoaderData$Unloader.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/sun/reflect/annotation/AnnotationInvocationHandler.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/security/VMAccessController.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Field.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Constructor.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Method.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMClassLoader.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMThrowable.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMString.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMThread.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMRuntime.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/gnu/classpath/VMSystemProperties.class
|
||||||
|
%%WITHOUT_ZIP%%share/jamvm/classes/gnu/classpath/VMStackWalker.class
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/gnu/classpath
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/gnu
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/lang/reflect
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/lang
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/security
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun/reflect/annotation
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun/reflect
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm/java/lang
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm/java
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm
|
||||||
|
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes
|
||||||
|
@dirrm share/jamvm
|
Loading…
Add table
Reference in a new issue