2006-10-23 21:38:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/10/23 19:38:15 tv Exp $
|
2004-10-01 01:47:19 +02:00
|
|
|
|
2006-10-16 09:51:06 +02:00
|
|
|
DISTNAME= jdk-1_5_0_09-linux-i586
|
|
|
|
PKGNAME= sun-jdk15-5.0.9
|
2006-10-23 21:38:15 +02:00
|
|
|
PKGREVISION= 1
|
2004-10-01 01:47:19 +02:00
|
|
|
MASTER_SITES= # empty
|
|
|
|
|
2005-10-28 00:57:27 +02:00
|
|
|
SHORT_NAME= JDK
|
2004-10-01 01:47:19 +02:00
|
|
|
|
2005-12-11 10:24:24 +01:00
|
|
|
DEPENDS+= ${PKGNAME_NOREV:S/jdk/jre/}*:../../lang/sun-jre15
|
2004-10-01 01:47:19 +02:00
|
|
|
|
2006-06-07 17:16:35 +02:00
|
|
|
CHECK_SHLIBS= no # One of the demos is broken.
|
2005-10-11 19:56:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-//:S/_/./:S/_/./:S/-linux-i586//}
|
2004-10-06 00:09:23 +02:00
|
|
|
JAVA_WRAPPERS= appletviewer apt extcheck idlj jar jarsigner \
|
|
|
|
javac javadoc javah javap jdb rmic serialver
|
2004-10-01 01:47:19 +02:00
|
|
|
|
|
|
|
# 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"
|