mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
. Make the instructions for downloading the various source bits clearer.
The instructions are based on text submitted in the PR (by grog). PR: 42942
This commit is contained in:
parent
b5b9c33c5f
commit
c68fd88a5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68217
1 changed files with 27 additions and 6 deletions
|
@ -10,8 +10,9 @@ PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||||
CATEGORIES= java devel
|
CATEGORIES= java devel
|
||||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||||
# http://www.eyesbeyond.com/freebsddom/java/jdk.html
|
# http://www.eyesbeyond.com/freebsddom/java/jdk.html
|
||||||
DISTFILES= ${PORTNAME}${JDK_VERSION:S/./_/g}-src${EXTRACT_SUFX} \
|
SRCFILE= ${PORTNAME}${JDK_VERSION:S/./_/g}-src${EXTRACT_SUFX}
|
||||||
bsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz
|
PATCHSETFILE= bsd-jdk122-patches-${JDK_PATCHSET_VERSION}.tar.gz
|
||||||
|
DISTFILES= ${SRCFILE} ${PATCHSETFILE}
|
||||||
|
|
||||||
MAINTAINER= glewis@FreeBSD.org
|
MAINTAINER= glewis@FreeBSD.org
|
||||||
|
|
||||||
|
@ -74,11 +75,31 @@ PLIST_SUB+= DEBUG:=""
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.for file in ${DISTFILES}
|
# Check for JDK sources
|
||||||
.if !exists(${DISTDIR}/${file})
|
.if !exists(${DISTDIR}/${SRCFILE})
|
||||||
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
|
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
|
.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:
|
pre-patch:
|
||||||
@${MKDIR} ${WRKSRC}
|
@${MKDIR} ${WRKSRC}
|
||||||
|
|
Loading…
Add table
Reference in a new issue