diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk/Makefile | 2 | ||||
-rw-r--r-- | java/jdk/pkg-plist | 5 | ||||
-rw-r--r-- | java/jdk11/Makefile | 2 | ||||
-rw-r--r-- | java/jdk11/pkg-plist | 5 |
4 files changed, 14 insertions, 0 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile index 72eb66a593ef..63ef68f56879 100644 --- a/java/jdk/Makefile +++ b/java/jdk/Makefile @@ -34,5 +34,7 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} (cd ${WRKSRC} && ${TAR} -c -f - .) \ | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -) + ${MKDIR} ${PREFIX}/share/java/classes + ${MKDIR} ${PREFIX}/share/doc/java .include <bsd.port.post.mk> diff --git a/java/jdk/pkg-plist b/java/jdk/pkg-plist index c30f4a35703e..68a6a3aafe67 100644 --- a/java/jdk/pkg-plist +++ b/java/jdk/pkg-plist @@ -516,6 +516,11 @@ jdk%%JDK_VERSION%%/README jdk%%JDK_VERSION%%/README.FreeBSD jdk%%JDK_VERSION%%/CHANGES jdk%%JDK_VERSION%%/index.html +@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 @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 diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile index 72eb66a593ef..63ef68f56879 100644 --- a/java/jdk11/Makefile +++ b/java/jdk11/Makefile @@ -34,5 +34,7 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} (cd ${WRKSRC} && ${TAR} -c -f - .) \ | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -) + ${MKDIR} ${PREFIX}/share/java/classes + ${MKDIR} ${PREFIX}/share/doc/java .include <bsd.port.post.mk> diff --git a/java/jdk11/pkg-plist b/java/jdk11/pkg-plist index c30f4a35703e..68a6a3aafe67 100644 --- a/java/jdk11/pkg-plist +++ b/java/jdk11/pkg-plist @@ -516,6 +516,11 @@ jdk%%JDK_VERSION%%/README jdk%%JDK_VERSION%%/README.FreeBSD jdk%%JDK_VERSION%%/CHANGES jdk%%JDK_VERSION%%/index.html +@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 @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 |