summaryrefslogtreecommitdiffstats
path: root/java/jdk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-05-31 09:44:15 +0000
committersobomax <sobomax@FreeBSD.org>2000-05-31 09:44:15 +0000
commitbda254a7c4fe5817dbe862a6fe32d94e2918f127 (patch)
treee7a146d6d2705dc00879df6d3a742573fe6262b5 /java/jdk
parentc863f66cfe92a840cdc50105f8aba682af412992 (diff)
downloadFreeBSD-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/jdk')
-rw-r--r--java/jdk/Makefile2
-rw-r--r--java/jdk/pkg-plist5
2 files changed, 7 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
OpenPOWER on IntegriCloud