1 # $NetBSD: Makefile,v 1.9 2013/04/13 11:20:05 ryoon Exp $
3 # Note: This must be kept in sync with the sun-jre7 package
4 # Note: make sure you include sums for both the x86_64 and the x86_32
5 # in distinfo (make makesum will eat one of them)
7 DISTNAME
= jdk-7u21-
${DIST_OS}-${DIST_ARCH}
8 PKGNAME
= sun-jdk7-7.0
.21
11 LICENSE
= oracle-binary-code-license
13 DOWNLOAD_NAME
= Java Development Kit
(JDK
) 7u21
15 DEPENDS
+= ${PKGNAME_NOREV
:S
/jdk
/jre
/}*:..
/..
/lang
/sun-jre7
17 WRKSRC
= ${WRKDIR}/jdk1.7
.0_21
18 JAVA_WRAPPERS
= appletviewer apt extcheck idlj jar jarsigner \
19 javac javadoc javah javap jdb rmic serialver
23 .
include "../../lang/sun-jre7/Makefile.common"
25 .if
!empty
(MACHINE_PLATFORM
:MLinux-
*-x86_64
)
26 CHECK_SHLIBS_SUPPORTED
= no
29 # The 64-bit Solaris downloads for some inexplicable reason only contain
30 # the additional 64-bit files, and you need the main 32-bit file too.
31 .if
${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
32 DISTFILES
= ${DEFAULT_DISTFILES} ${DEFAULT_DISTFILES
:S
/x64
/i586
/}
35 PLIST_SRC
= PLIST.
${DIST_OS}-${EMUL_ARCH}
37 # Remove parts that are in common with the JRE
40 common
=`${AWK} '/^#.*/ { next } /^$$/ { next } { print }' ${FILESDIR}/common`; \
41 cd
${WRKSRC}; for i in
$$common; do \
48 ${LN} -sf .
${WRKSRC}/jre
51 # These files are generated the *first* time the package is built
52 ${RM} -f
${WRKSRC}/register.html
53 ${RM} -f
${WRKSRC}/register_ja.html
54 ${RM} -f
${WRKSRC}/register_zh_CN.html
56 ${WRKSRC}/db
/bin
/NetworkServerControl.bat \
57 ${WRKSRC}/db
/bin
/dblook.bat \
58 ${WRKSRC}/db
/bin
/derby_common.bat \
59 ${WRKSRC}/db
/bin
/ij.bat \
60 ${WRKSRC}/db
/bin
/setEmbeddedCP.bat \
61 ${WRKSRC}/db
/bin
/setNetworkClientCP.bat \
62 ${WRKSRC}/db
/bin
/setNetworkServerCP.bat \
63 ${WRKSRC}/db
/bin
/startNetworkServer.bat \
64 ${WRKSRC}/db
/bin
/stopNetworkServer.bat \
65 ${WRKSRC}/db
/bin
/sysinfo.bat
67 .
include "../../mk/bsd.pkg.mk"