aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-04-11 14:47:08 +0800
committerdirk <dirk@FreeBSD.org>2001-04-11 14:47:08 +0800
commit598b7fc8e763188b3a8fe6669916b3aa63ec5fd6 (patch)
treec9b1c6e88cc61fab6bf5f8aef16f7141b4b82286 /java
parentfc3abf366e7bff02e74fbb1274414ffea1d72dfa (diff)
downloadfreebsd-ports-gnome-598b7fc8e763188b3a8fe6669916b3aa63ec5fd6.tar.gz
freebsd-ports-gnome-598b7fc8e763188b3a8fe6669916b3aa63ec5fd6.tar.zst
freebsd-ports-gnome-598b7fc8e763188b3a8fe6669916b3aa63ec5fd6.zip
Add support for javavmwrapper.
Approved by: kevlo (maintainer)
Diffstat (limited to 'java')
-rw-r--r--java/linux-jdk13/Makefile4
-rw-r--r--java/linux-sun-jdk13/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/java/linux-jdk13/Makefile b/java/linux-jdk13/Makefile
index bf72e9782b5c..5fccf4d60b66 100644
--- a/java/linux-jdk13/Makefile
+++ b/java/linux-jdk13/Makefile
@@ -14,7 +14,8 @@ DISTFILES= j2sdk-1_3_0_02-linux.bin
MAINTAINER= kevlo@FreeBSD.org
-RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
+ javavm:${PORTSDIR}/java/javavmwrapper
JDK_VERSION= 1.3.0
@@ -51,5 +52,6 @@ post-patch:
do-install:
${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
+ ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile
index bf72e9782b5c..5fccf4d60b66 100644
--- a/java/linux-sun-jdk13/Makefile
+++ b/java/linux-sun-jdk13/Makefile
@@ -14,7 +14,8 @@ DISTFILES= j2sdk-1_3_0_02-linux.bin
MAINTAINER= kevlo@FreeBSD.org
-RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
+ javavm:${PORTSDIR}/java/javavmwrapper
JDK_VERSION= 1.3.0
@@ -51,5 +52,6 @@ post-patch:
do-install:
${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
+ ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
.include <bsd.port.post.mk>