[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / sun-jdk6

File: [cvs.NetBSD.org] / pkgsrc / lang / sun-jdk6 / Attic / Makefile (download)

Revision 1.15, Tue May 19 08:59:19 2009 UTC (13 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.14: +3 -2 lines

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

# $NetBSD: Makefile,v 1.15 2009/05/19 08:59:19 wiz Exp $

DISTNAME=	jdk-6u12-linux-${DIST_ARCH}
#PKGREVISION=    1
PKGNAME=	sun-jdk6-6.0.12
MASTER_SITES=	# empty

DOWNLOAD_NAME=	JDK 6u12

LICENSE=	sun-jdk6-license

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

WRKSRC=		${WRKDIR}/jdk1.6.0_12
JAVA_WRAPPERS=	appletviewer apt extcheck idlj jar jarsigner \
		javac javadoc javah javap jdb rmic serialver

MAKE_JOBS_SAFE=	no

.include "../../lang/sun-jre6/Makefile.common"

# 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

pre-install:
	# These files are generated the *first* time the package is built
	${RM} -f ${WRKSRC}/register.html
	${RM} -f ${WRKSRC}/register_ja.html
	${RM} -f ${WRKSRC}/register_zh_CN.html

.include "../../mk/bsd.pkg.mk"