pkgsrc/lang/sun-jdk13/Makefile
jlam 6c24b78518 Update sun-jre13 and sun-jdk13 to 1.0.7. These are bug fix releases from
Sun for JDK 1.3.1.  Pkgsrc changes include noting that some of the installed
files are config files and using bsd.pkg.install.mk to handle the file
copying and directory handling, and using a more scalable method to remove
files shared between the JRE and JDK during the JDK installation.

This closes PR 18942 by Urban Boquist <urban at boquist.net>.
2003-01-29 11:10:19 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2003/01/29 11:10:19 jlam Exp $
DISTNAME= j2sdk-1_3_1_07-linux-i586
PKGNAME= sun-jdk13-1.0.7
WRKSRC= ${WRKDIR}/jdk1.3.1_07
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) Development Kit 1.3.1
DEPENDS= sun-jre13>=1.0.7:../../lang/sun-jre13
# 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
_FETCH_MESSAGE= \
${ECHO} "======================================================================"; \
${ECHO} ; \
${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing the"; \
${ECHO} " Java(tm) 2 SDK, Standard Edition must be fetched"; \
${ECHO} " into:"; \
${ECHO} " ${DISTDIR}"; \
${ECHO} " from:"; \
${ECHO} " ${DOWNLOAD}"; \
${ECHO} ; \
${ECHO} "======================================================================"
.include "../../lang/sun-jre13/Makefile.common"
PREFIX= ${JVM_HOME}