aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 09:21:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 09:21:25 +0000
commit64111d7db5a0fa6db62e5ba34c5589f7cc3e6902 (patch)
treea32cf46714d64ed0c76a241678f46bba2f570274
parentf2cd82bc9de78b999a06d5e33357e91aec2da0d6 (diff)
downloadports-64111d7db5a0fa6db62e5ba34c5589f7cc3e6902.tar.gz
ports-64111d7db5a0fa6db62e5ba34c5589f7cc3e6902.zip
Notes
-rw-r--r--java/jre/Makefile2
-rw-r--r--java/jre/pkg-plist5
2 files changed, 7 insertions, 0 deletions
diff --git a/java/jre/Makefile b/java/jre/Makefile
index 22c201009e34..58b0d85a6c8e 100644
--- a/java/jre/Makefile
+++ b/java/jre/Makefile
@@ -65,6 +65,8 @@ do-build:
do-install:
${MKDIR} ${PREFIX}/jre${JRE_VERSION}
+ ${MKDIR} ${PREFIX}/share/java/classes
+ ${MKDIR} ${PREFIX}/share/doc/java
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jre${JRE_VERSION} && ${TAR} --unlink -x -f -)
cd ${PREFIX}/jre${JRE_VERSION}/bin && \
diff --git a/java/jre/pkg-plist b/java/jre/pkg-plist
index 8488d837c18a..d3d2b702df0b 100644
--- a/java/jre/pkg-plist
+++ b/java/jre/pkg-plist
@@ -47,6 +47,11 @@ jre%%JRE_VERSION%%/lib/psfont.properties.ja
jre%%JRE_VERSION%%/lib/rt.jar
jre%%JRE_VERSION%%/lib/security/java.security
jre%%JRE_VERSION%%/lib/serialver.properties
+@exec mkdir -p %D/share/java/classes
+@exec mkdir -p %D/share/doc/java
+@unexec rmdir %D/share/java/classes
+@unexec rmdir %D/share/java
+@unexec rmdir %D/share/doc/java
@exec %D/bin/registervm "%D/jre%%JRE_VERSION%%/bin/java # JRE%%JRE_VERSION%%"
@unexec %D/bin/unregistervm JRE%%JRE_VERSION%%
@dirrm jre%%JRE_VERSION%%/lib/security