aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk13
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-04-08 02:23:31 +0800
committerglewis <glewis@FreeBSD.org>2003-04-08 02:23:31 +0800
commitad9d9aa195c9a7cf8c770a25517403ed8f4cb288 (patch)
tree4fe9d506a4bda50133508aabe8e5ba34246fbc7a /java/jdk13
parenta749ef6223e7133f891cf94c54ecc4885a802ad8 (diff)
downloadfreebsd-ports-gnome-ad9d9aa195c9a7cf8c770a25517403ed8f4cb288.tar.gz
freebsd-ports-gnome-ad9d9aa195c9a7cf8c770a25517403ed8f4cb288.tar.zst
freebsd-ports-gnome-ad9d9aa195c9a7cf8c770a25517403ed8f4cb288.zip
1. Clean up demo/jfc/SwingSet2/resources before the install. This should
not be installed, but appears to be on rare occasions for reasons unknown. 2. Add handling of share/doc/java, previously only done in pkg-plist. PR: 50092 (2) Submitted by: Munehiro Matsuda <haro@kgt.co.jp> (2)
Diffstat (limited to 'java/jdk13')
-rw-r--r--java/jdk13/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index 034053061605..1f819f8cea7e 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -253,6 +253,9 @@ post-build:
${INSTALL_PROGRAM} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_compiler2/jvmg/libjvm_g.so ${JDKIMAGEDIR_G}/jre/lib/i386/server/
.endif
.endif
+ # Ensure SwingSet2 resources directory doesn't exist (sometimes it
+ # does on FreeBSD 5.x)
+ ${RM} -rf ${JDKIMAGEDIR}/demo/jfc/SwingSet2/resources
# Prune empty dirs
${FIND} ${JDKIMAGEDIR} -type d | ${SORT} -r | \
${XARGS} ${RMDIR} 2> /dev/null || ${TRUE}
@@ -276,6 +279,7 @@ do-install:
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
.endif
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}/jre/lib/ext
+ ${MKDIR} ${PREFIX}/share/doc/java
post-install:
@${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}"