d43d850ee2
reported vulnerabilities. * http://java.sun.com/j2se/1.4.2/ReleaseNotes.html#142_17
34 lines
837 B
Makefile
34 lines
837 B
Makefile
# $NetBSD: Makefile,v 1.39 2008/03/05 21:50:22 tnn Exp $
|
|
|
|
DISTNAME= j2sdk-1_4_2_17-linux-${DIST_ARCH}
|
|
PKGNAME= sun-jdk14-2.17
|
|
MASTER_SITES= # empty
|
|
|
|
COMMENT= Sun's Java(tm) 2 SDK, Standard Edition 1.4.2
|
|
|
|
SHORT= SDK
|
|
|
|
DEPENDS+= sun-jre14>=2.9:../../lang/sun-jre14
|
|
|
|
WRKSRC= ${WRKDIR}/j2sdk1.4.2_17
|
|
JAVA_WRAPPERS+= appletviewer extcheck idlj jar jarsigner \
|
|
javac javadoc javah javap jdb rmic serialver
|
|
|
|
LICENSE= sun-jdk14-license
|
|
|
|
.include "../../lang/sun-jre14/Makefile.common"
|
|
|
|
# Remove parts that are in common with the JRE
|
|
#
|
|
post-extract:
|
|
common=`${AWK} '/^#.*/ { next } /^$$/ { next } { print }' ${FILESDIR}/common`; \
|
|
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"
|