summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-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 22c2010..58b0d85 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 8488d83..d3d2b70 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
OpenPOWER on IntegriCloud