pkgsrc/lang/sun-jdk13/Makefile
jmmv da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00

32 lines
816 B
Makefile

# $NetBSD: Makefile,v 1.34 2005/01/30 23:18:38 jmmv Exp $
DISTNAME= j2sdk-1_3_1_15-linux-i586
PKGNAME= sun-jdk13-1.0.15
PKGREVISION= 1
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) Development Kit 1.3.1
SHORT= JDK
DEPENDS= sun-jre13>=1.0.15:../../lang/sun-jre13
JAVA_CLASSPATH= ${JAVA_HOME}/src.jar
JAVA_WRAPPERS= appletviewer extcheck idlj jar jarsigner \
javac javadoc javah javap jdb rmic serialver
WRKSRC= ${WRKDIR}/jdk1.3.1_15
# 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-jre13/Makefile.common"