summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-09-01 19:36:11 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-09-01 19:36:11 +0000
commit71a7d9476c68a4ce2ae6532af385e9072134d36a (patch)
tree1852f47d8f9e6e3fa3c92c7c031ca3c0d199e9c7 /java
parentUpdate to 0.92.0. (diff)
. Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Make the comment for the registervm call consistent with the conventional naming scheme and the one in Makefile. . Add missing creation and deletion of %%PREFIX%%/share/doc/java for consistency with other JDK pkg-plists.
Notes
Notes: svn path=/head/; revision=117859
Diffstat (limited to 'java')
-rw-r--r--java/linux-sun-jdk12/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/linux-sun-jdk12/pkg-plist b/java/linux-sun-jdk12/pkg-plist
index 79487d3adff9..1ef453e9404b 100644
--- a/java/linux-sun-jdk12/pkg-plist
+++ b/java/linux-sun-jdk12/pkg-plist
@@ -1,5 +1,3 @@
-@exec %D/bin/registervm "%D/%%T%%/bin/java # Linux-JDK%%JDK_VERSION%%"
-@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"
%%T%%/CHANGES
%%T%%/COPYRIGHT
%%T%%/LICENSE
@@ -721,6 +719,10 @@
%%T%%/lib/i386/libjdwp.so
%%T%%/lib/tools.jar
%%T%%/src.jar
+@exec mkdir -p %D/share/doc/java
+@unexec rmdir %D/share/doc/java 2>/dev/null || true
+@exec %%LOCALBASE%%/bin/registervm "%D/%%T%%/bin/java # Linux-Sun-JDK%%JDK_VERSION%%"
+@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
@dirrm %%T%%/bin/i386/green_threads
@dirrm %%T%%/bin/i386/native_threads
@dirrm %%T%%/bin/i386