summaryrefslogtreecommitdiff
path: root/lang/sun-jdk6/Makefile
blob: 9fbd6c485e40d98979546d3528c7eb15d475f49f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.3 2007/05/04 04:53:31 markd Exp $

DISTNAME=	jdk-6u1-linux-i586
PKGNAME=	sun-jdk6-6.0.1
MASTER_SITES=	# empty

DOWNLOAD_NAME=	JDK 6u1
SHORT_NAME=	JDK

DEPENDS+=	${PKGNAME_NOREV:S/jdk/jre/}*:../../lang/sun-jre6

CHECK_SHLIBS=	no	# One of the demos is broken.
WRKSRC=		${WRKDIR}/jdk1.6.0_01
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-jre6/Makefile.common"