summaryrefslogtreecommitdiff
path: root/lang/sun-jdk6/Makefile
diff options
context:
space:
mode:
authortv <tv>2007-02-18 19:11:26 +0000
committertv <tv>2007-02-18 19:11:26 +0000
commit9129c4d6c888373d4187e63f0f76feecf3612c1d (patch)
tree786d45f6e606db961cb2ac7364cf5babbe328567 /lang/sun-jdk6/Makefile
parent05ade75a50a4c25462452168056a22f6d867cd99 (diff)
downloadpkgsrc-9129c4d6c888373d4187e63f0f76feecf3612c1d.tar.gz
SUN JRE/JDK 6.0. The new naming convention is that "1.6.0" is now "6.0"
(true for 1.5, but officially branded as such for 6), so this is called "sun-j{dk,re}6" rather than "sun-j{dk,re}16". amd64 support is not currently included, but initial provision exists in the sun-jre6 package as it was cloned initially from sun-jre15.
Diffstat (limited to 'lang/sun-jdk6/Makefile')
-rw-r--r--lang/sun-jdk6/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/sun-jdk6/Makefile b/lang/sun-jdk6/Makefile
new file mode 100644
index 00000000000..3391a1f615f
--- /dev/null
+++ b/lang/sun-jdk6/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2007/02/18 19:11:26 tv Exp $
+
+DISTNAME= jdk-6-linux-i586
+PKGNAME= sun-jdk6-6.0
+MASTER_SITES= # empty
+
+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
+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"