Removing restrictions and providing download locations. Could not

find any reason for these restrictions on the Sun website. Only
software is under license and export control. The download does
not require accepting a license, either.

See:	http://java.sun.com/products/jdk/1.1/README
	http://java.sun.com/products/jdk/1.1/docs.html
	http://servlet.java.sun.com/help/download
This commit is contained in:
Ernst de Haan 2002-08-19 09:42:55 +00:00
parent d99dbad3de
commit d63f6873d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64652

View file

@ -8,18 +8,13 @@
PORTNAME= jdk-doc
PORTVERSION= ${JDK_VERSION:S/_/./g}
CATEGORIES= java
MASTER_SITES= #
MASTER_SITES= http://www.metaverse.nl/~ernst/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= znerd
DISTNAME= jdk-${JDK_VERSION:S/./_/g}-doc
MAINTAINER= znerd@FreeBSD.org
NO_CDROM= "License does not allow distribution with fee."
RESTRICTED= "This software is under license and export control."
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You cannot legally distribute packages"
.endif
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
@ -32,10 +27,6 @@ NO_BUILD= yes
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
do-install:
${MKDIR} ${TARGET_DIR}
${CP} -r ${WRKSRC}/* ${TARGET_DIR}