summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-04-11 06:47:08 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-04-11 06:47:08 +0000
commit99d1059b2e79bae78f4f64fe93c7e188686ed803 (patch)
tree0f9ea6b6ff231b318d91bcd6a0337d0c2703103f /java
parentFixed a typo (functionnalities -> functionalities) (diff)
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>