diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-12 20:55:46 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-12 20:55:46 +0800 |
commit | 9103b7b51c7c5f4a4e03116b4331a3774aeace9e (patch) | |
tree | d7a447373eaeed91dca8d31d13e5f8b1cb8326ed /java/jdk | |
parent | 9bba5d97cd658247c56d69eaa0fb32320246c841 (diff) | |
download | freebsd-ports-gnome-9103b7b51c7c5f4a4e03116b4331a3774aeace9e.tar.gz freebsd-ports-gnome-9103b7b51c7c5f4a4e03116b4331a3774aeace9e.tar.zst freebsd-ports-gnome-9103b7b51c7c5f4a4e03116b4331a3774aeace9e.zip |
Add support for javavmwrapper.
Diffstat (limited to 'java/jdk')
-rw-r--r-- | java/jdk/Makefile | 5 | ||||
-rw-r--r-- | java/jdk/pkg-plist | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile index 63ef68f56879..fd3b8d241530 100644 --- a/java/jdk/Makefile +++ b/java/jdk/Makefile @@ -13,6 +13,8 @@ MASTER_SITES= ftp://ftp.sc.sri.com/pub/FreeBSD/JDK/ \ MAINTAINER= nate@FreeBSD.org +RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper + NO_CDROM= "License doesn't allow distribution with fee" ONLY_FOR_ARCHS= i386 @@ -37,4 +39,7 @@ do-install: ${MKDIR} ${PREFIX}/share/java/classes ${MKDIR} ${PREFIX}/share/doc/java +post-install: + ${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # JDK${JDK_VERSION}" + .include <bsd.port.post.mk> diff --git a/java/jdk/pkg-plist b/java/jdk/pkg-plist index 68a6a3aafe67..647a4e5850ba 100644 --- a/java/jdk/pkg-plist +++ b/java/jdk/pkg-plist @@ -521,6 +521,8 @@ jdk%%JDK_VERSION%%/index.html @unexec rmdir %D/share/java/classes @unexec rmdir %D/share/java @unexec rmdir %D/share/doc/java +@exec %D/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%" +@unexec %D/bin/unregistervm JDK%%JDK_VERSION%% @dirrm jdk%%JDK_VERSION%%/lib/security @dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8/app-defaults @dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8 |