30d00c3cf8
lang/blackdown-jdk13 lang/jdk lang/sun-jdk13 lang/sun-jdk14 Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper JDK hierarchy is found. This addresses PR 20269 by Todd Vierling <tv at pobox dot com>. This makes misc/openoffice-linux find the Java2 installation again.
35 lines
892 B
Makefile
35 lines
892 B
Makefile
# $NetBSD: Makefile,v 1.18 2003/02/11 04:23:15 jlam Exp $
|
|
#
|
|
|
|
BASENAME= j2sdk
|
|
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
|
|
PKGNAME= blackdown-jdk13-1
|
|
PKGREVISION= 2
|
|
COMMENT= Linux port of the Blackdown Java(tm) Runtime Environment
|
|
|
|
DEPENDS= blackdown-jre13>=1:../../lang/blackdown-jre13
|
|
|
|
.include "../../lang/blackdown-jre13/Makefile.common"
|
|
|
|
PLIST_SRC= # empty
|
|
.if ${BLACKDOWN_ARCH} == "i386"
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.i386
|
|
.endif
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
|
|
# Remove parts that are in common with the JRE.
|
|
#
|
|
post-extract:
|
|
common=`${SED} -e "s,\\$${BLACKDOWN_ARCH},${BLACKDOWN_ARCH},g" ${FILESDIR}/common | ${AWK} '/^#.*/ { next } /^$$/ { next } { print }'`; \
|
|
cd ${WRKSRC}; for i in $$common; do \
|
|
if [ -d $$i ]; then \
|
|
${RM} -rf $$i; \
|
|
else \
|
|
${RM} -f $$i; \
|
|
fi; \
|
|
done
|
|
${LN} -sf . ${WRKSRC}/jre
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
PREFIX= ${JVM_HOME}
|