blob: 78b8470edf9da2d13c2961700156b50cb0615d42 (
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.10 2005/10/11 17:56:24 tv Exp $
DISTNAME= jdk-1_5_0_05-linux-i586
PKGNAME= sun-jdk15-5.0.5
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) 2 SDK, Standard Edition 1.5.0
SHORT= SDK
DEPENDS= ${PKGNAME_NOREV:S/jdk/jre/}*:../../lang/sun-jre15
WRKSRC= ${WRKDIR}/${DISTNAME:S/-//:S/_/./:S/_/./:S/-linux-i586//}
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-jre15/Makefile.common"
|