diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-05-31 09:44:15 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-05-31 09:44:15 +0000 |
commit | bda254a7c4fe5817dbe862a6fe32d94e2918f127 (patch) | |
tree | e7a146d6d2705dc00879df6d3a742573fe6262b5 /java | |
parent | c863f66cfe92a840cdc50105f8aba682af412992 (diff) | |
download | FreeBSD-ports-bda254a7c4fe5817dbe862a6fe32d94e2918f127.zip FreeBSD-ports-bda254a7c4fe5817dbe862a6fe32d94e2918f127.tar.gz |
Create/remove share/java, share/java/classes and share/java/doc directories upon
install/uninstall, as it is outlined in Java Porters page
(http://www.FreeBSD.org/java/docs/howtoports.html).
Approved by: asami
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 72eb66a..63ef68f 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 c30f4a3..68a6a3a 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 72eb66a..63ef68f 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 c30f4a3..68a6a3a 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 |