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/jdk | |
parent | 54240bf8a16600148fab6e9d341c82e78abcbf4a (diff) | |
download | ports-bd7b5a29891c2e6cfce2b09707d5af830c0d1cba.tar.gz ports-bd7b5a29891c2e6cfce2b09707d5af830c0d1cba.zip |
Notes
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 |