View | Details | Raw Unified | Return to bug 122312
Collapse All | Expand All

(-)b/java/jamvm/Makefile (+45 lines)
Added Link Here
1
# New ports collection makefile for:	jamvm
2
# Date created:				31 March 2008
3
# Whom:					Bjoern Koenig
4
5
PORTNAME=	jamvm
6
PORTVERSION=	1.5.1
7
CATEGORIES=	java devel
8
MASTER_SITES=	SF
9
10
MAINTAINER=	bkoenig@alpha-tierchen.de
11
COMMENT=	A compact Java virtual machine
12
13
GNU_CONFIGURE=	yes
14
CONFIGURE_ARGS=	--with-classpath-install-dir=${LOCALBASE}
15
USE_GMAKE=	yes
16
17
OPTIONS=	FFI "use libffi to call native methods" ON \
18
		ZIP "turn-on zip support in the bootstrap loader" ON
19
20
RUN_DEPENDS=	${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
21
22
.include <bsd.port.pre.mk>
23
24
.if defined(WITH_FFI)
25
LIB_DEPENDS=		ffi:${PORTSDIR}/devel/libffi
26
CONFIGURE_ARGS+=	--enable-ffi
27
CONFIGURE_ENV+=		CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
28
.endif
29
30
.if defined(WITH_ZIP)
31
BUILD_DEPENDS+=		zip:${PORTSDIR}/archivers/zip
32
PLIST_SUB+=		WITHOUT_ZIP="@comment "
33
PLIST_FILES+=		lib/rt.jar share/jamvm/classes.zip
34
.else
35
CONFIGURE_ARGS+=	--disable-zip
36
PLIST_SUB+=		WITHOUT_ZIP=""
37
.endif
38
39
post-extract:
40
	@${MV} ${WRKSRC}/src/arch/x86_64.h ${WRKSRC}/src/arch/amd64.h
41
42
post-configure:
43
	@${MV} ${WRKSRC}/src/os/bsd/x86_64 ${WRKSRC}/src/os/bsd/amd64
44
45
.include <bsd.port.post.mk>
(-)b/java/jamvm/distinfo (+3 lines)
Added Link Here
1
MD5 (jamvm-1.5.1.tar.gz) = 5a82751b50391eb092c906ce64f3b6bf
2
SHA256 (jamvm-1.5.1.tar.gz) = 663895bd69caf3a1fda6af5eea8263d90a5fd35ca8f4c32e2210ac410788901a
3
SIZE (jamvm-1.5.1.tar.gz) = 599084
(-)b/java/jamvm/pkg-descr (+8 lines)
Added Link Here
1
JamVM is an extremely small Java Virtual Machine which conforms to the
2
JVM specification version 2 (blue book).
3
4
It is designed to support the full specification, and includes support
5
for object finalisation, Soft/Weak/Phantom References, class-unloading,
6
the Java Native Interface (JNI) and the Reflection API.
7
8
WWW: http://jamvm.sourceforge.net/
(-)b/java/jamvm/pkg-plist (+32 lines)
Added Link Here
1
bin/jamvm
2
include/jni.h
3
lib/libjvm.la
4
lib/libjvm.a
5
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/VMClassLoaderData.class
6
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/JarLauncher.class
7
%%WITHOUT_ZIP%%share/jamvm/classes/jamvm/java/lang/VMClassLoaderData$Unloader.class
8
%%WITHOUT_ZIP%%share/jamvm/classes/sun/reflect/annotation/AnnotationInvocationHandler.class
9
%%WITHOUT_ZIP%%share/jamvm/classes/java/security/VMAccessController.class
10
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Field.class
11
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Constructor.class
12
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/reflect/Method.class
13
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMClassLoader.class
14
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMThrowable.class
15
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMString.class
16
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMThread.class
17
%%WITHOUT_ZIP%%share/jamvm/classes/java/lang/VMRuntime.class
18
%%WITHOUT_ZIP%%share/jamvm/classes/gnu/classpath/VMSystemProperties.class
19
%%WITHOUT_ZIP%%share/jamvm/classes/gnu/classpath/VMStackWalker.class
20
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/gnu/classpath
21
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/gnu
22
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/lang/reflect
23
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/lang
24
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java/security
25
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/java
26
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun/reflect/annotation
27
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun/reflect
28
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/sun
29
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm/java/lang
30
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm/java
31
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes/jamvm
32
%%WITHOUT_ZIP%%@dirrm share/jamvm/classes

Return to bug 122312