diff options
author | glewis <glewis@FreeBSD.org> | 2002-10-18 00:31:45 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2002-10-18 00:31:45 +0800 |
commit | 8ae98f3ce6180e4c09553e84879237161556e198 (patch) | |
tree | c306e197e08cfa71480d5c65cdc773b1f451c873 /java/jdk12 | |
parent | 041a9ae35834a7b93aad013d97dd091559859bfd (diff) | |
download | freebsd-ports-gnome-8ae98f3ce6180e4c09553e84879237161556e198.tar.gz freebsd-ports-gnome-8ae98f3ce6180e4c09553e84879237161556e198.tar.zst freebsd-ports-gnome-8ae98f3ce6180e4c09553e84879237161556e198.zip |
. Make the instructions for downloading the various source bits clearer.
The instructions are based on text submitted in the PR (by grog).
PR: 42942
Diffstat (limited to 'java/jdk12')
-rw-r--r-- | java/jdk12/Makefile | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile index 30fad6e9bc52..063573635c4a 100644 --- a/java/jdk12/Makefile +++ b/java/jdk12/Makefile @@ -10,8 +10,9 @@ PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk.html -DISTFILES= ${PORTNAME}${JDK_VERSION:S/./_/g}-src${EXTRACT_SUFX} \ - bsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz +SRCFILE= ${PORTNAME}${JDK_VERSION:S/./_/g}-src${EXTRACT_SUFX} +PATCHSETFILE= bsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz +DISTFILES= ${SRCFILE} ${PATCHSETFILE} MAINTAINER= glewis@FreeBSD.org @@ -74,11 +75,31 @@ PLIST_SUB+= DEBUG:="" .include <bsd.port.pre.mk> -.for file in ${DISTFILES} -.if !exists(${DISTDIR}/${file}) -IGNORE=You must manually fetch the source distribution and FreeBSD patches (${DISTFILES}) from http://www.sun.com/software/java2/download.html and http://www.eyesbeyond.com/freebsddom/java/jdk.html, place it in ${DISTDIR} and then run make again +# Check for JDK sources +.if !exists(${DISTDIR}/${SRCFILE}) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +Because of licensing restrictions, you must fetch the source distribution\n\ +manually. Please access http://www.sun.com/software/java2/download.html\n\ +with a web browser and follow the second \"Download\" link for the\n\ +\"Java(TM) SDK ${JDK_VERSION}\". You will be required to log in and register,\n\ +but you can create an account on this page. After registration and\n\ +accepting the Sun Community Source License, select \"JDK-${JDK_VERSION}\" and\n\ +download the file \"${SRCFILE}\". Please place this file in\n\ +/usr/ports/distfiles.\n .endif -.endfor + +# Check for patchset +.if !exists(${DISTDIR}/${PATCHSETFILE}) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +The source distribution exists on your system, but due to\n\ +licensing restrictions you still need to download the\n\ +patchset, ${PATCHSETFILE}, from\n\ +http://www.eyesbeyond.com/freebsddom/java/jdk.html.\n\ +Please place the patchset in /usr/ports/distfiles.\n +.endif + pre-patch: @${MKDIR} ${WRKSRC} |