Hello!

The biggest pieces of JDK16 source can be downloaded directly
from Sun -- there is no need any more to send users to Sun's
web-site for them.

The attached patch not only makes downloading simpler, it also
preserves the timestamp of the downloaded files -- something,
that browsers universally omit.

Yours,

-mi

P.S. Any version of cups library would do, right?

Index: Makefile
================================================== =================
RCS file: /home/pcvs/ports/java/jdk16/Makefile,v
retrieving revision 1.151
diff -U2 -r1.151 Makefile
--- Makefile 16 Nov 2007 05:30:17 -0000 1.151
+++ Makefile 16 Nov 2007 06:18:33 -0000
@@ -9,7 +9,5 @@
PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}p${JDK_PATCHSE T_VERSION}
CATEGORIES= java devel
-MASTER_SITES= # http://download.java.net/jdk6/
-# http://www.eyesbeyond.com/freebsddom/java/jdk16.html
-# http://java.sun.com/javase/downloads/index.jsp
+MASTER_SITES= http://download.java.net/jdk6/6u${JDK_UPDATE_VERSION}/promoted/b${JDK_BUILD_NUMBER}/
DISTFILES= ${JRL_SRCFILE} ${JRL_BINFILE} ${JRL_MOZFILE} ${PATCHSETFILE}
EXTRACT_ONLY= ${JRL_SRCFILE} ${JRL_BINFILE} ${JRL_MOZFILE}
@@ -22,5 +20,5 @@
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
-LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
+LIB_DEPENDS= cups:${PORTSDIR}/print/cups-base

OPTIONS= DEBUG "Enable debugging support" off \
@@ -192,28 +190,8 @@

# Check for JDK sources and patch file
-.if !defined(PACKAGE_BUILDING) && (!exists(${DISTDIR}/${JRL_SRCFILE}) || !exists(${DISTDIR}/${JRL_BINFILE}) || !exists(${DISTDIR}/${JRL_MOZFILE}) || (defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE})) || (defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})) || !exists(${DISTDIR}/${PATCHSETFILE}))#{
+.if !defined(PACKAGE_BUILDING) && ((defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE})) || (defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})) || !exists(${DISTDIR}/${PATCHSETFILE}))#{
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Due to licensing restrictions, certain files must be fetched manually.\n\n
-.if !exists(${DISTDIR}/${JRL_SRCFILE}) || !exists(${DISTDIR}/${JRL_BINFILE}) || !exists(${DISTDIR}/${JRL_MOZFILE})#{
-IGNORE += Please open http://download.java.net/jdk6/6u${JDK_UPDATE_VERSION}/promoted/b${JDK_BUILD_NUMBER}/index.html\n\
-in a web browser. Download the\n
-.if !exists(${DISTDIR}/${JRL_SRCFILE})#{
-IGNORE += Update ${JDK_UPDATE_VERSION} Source, ${JRL_SRCFILE}
-.endif#}
-.if !exists(${DISTDIR}/${JRL_BINFILE})#{
-.if !exists(${DISTDIR}/${JRL_SRCFILE})#{
-IGNORE += and the\n
-.endif#}
-IGNORE += Source Binaries, ${JRL_BINFILE}
-.endif#}
-.if !exists(${DISTDIR}/${JRL_MOZFILE})#{
-.if !exists(${DISTDIR}/${JRL_SRCFILE}) || !exists(${DISTDIR}/${JRL_BINFILE})#{
-IGNORE += and the\n
-.endif#}
-IGNORE += Mozilla Headers, ${JRL_MOZFILE}
-.endif#}
-IGNORE += .\n\n
-.endif#}
.if defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE})#{
IGNORE += Please open http://java.sun.com/javase/downloads/index.jsp\n\
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"