diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-12 12:55:46 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-12 12:55:46 +0000 |
commit | bd7b5a29891c2e6cfce2b09707d5af830c0d1cba (patch) | |
tree | f771cea931caf84b3d2eaa6133febc4ee458070b /java/jdk11 | |
parent | Handle comments in all places. (diff) |
Add support for javavmwrapper.
Notes
Notes:
svn path=/head/; revision=29542
Diffstat (limited to 'java/jdk11')
-rw-r--r-- | java/jdk11/Makefile | 5 | ||||
-rw-r--r-- | java/jdk11/pkg-plist | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile index 63ef68f56879..fd3b8d241530 100644 --- a/java/jdk11/Makefile +++ b/java/jdk11/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/jdk11/pkg-plist b/java/jdk11/pkg-plist index 68a6a3aafe67..647a4e5850ba 100644 --- a/java/jdk11/pkg-plist +++ b/java/jdk11/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 |