mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
parent
d99dbad3de
commit
d63f6873d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64652
1 changed files with 3 additions and 12 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue