diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-04-07 18:23:31 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-04-07 18:23:31 +0000 |
commit | f530f1316e8ebc86954ead7756f7e602c9174cde (patch) | |
tree | bf52e9bc0b427b12f92d5579d06fca9a6ae14cd2 /java | |
parent | e13b9546035b45c4b11f8017df322c11936fbaa8 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=78534
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk13/Makefile | 4 |
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}" |