cf4dfe44a5
that these directories will be conditionally removed (based on reference counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION for packages that were modified as a result.
31 lines
785 B
Makefile
31 lines
785 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/08/20 19:16:23 jlam Exp $
|
|
|
|
DISTNAME= jdk-1_5_0_04-linux-i586
|
|
PKGNAME= sun-jdk15-5.0.4
|
|
PKGREVISION= 1
|
|
MASTER_SITES= # empty
|
|
|
|
COMMENT= Sun's Java(tm) 2 SDK, Standard Edition 1.5.0
|
|
|
|
SHORT= SDK
|
|
|
|
DEPENDS= sun-jre15-5.0.4*:../../lang/sun-jre15
|
|
|
|
WRKSRC= ${WRKDIR}/jdk1.5.0_04
|
|
JAVA_WRAPPERS= appletviewer apt extcheck idlj jar jarsigner \
|
|
javac javadoc javah javap jdb rmic serialver
|
|
|
|
# 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 "../../lang/sun-jre15/Makefile.common"
|