Java Development Kit 8 Documentation. Contains release information,

API documentation, guides to new features and tool documentation.

The documentation will be installed in ${PREFIX}/share/doc/jdk8/

WWW: http://www.oracle.com/us/technologies/java/index.html
This commit is contained in:
Jung-uk Kim
2014-06-10 00:02:31 +00:00
parent 7cdfb0c8c0
commit 8f8af7b642
4 changed files with 47 additions and 0 deletions

View File

@@ -95,6 +95,7 @@
SUBDIR += jdbcpool
SUBDIR += jdk16-doc
SUBDIR += jdk7-doc
SUBDIR += jdk8-doc
SUBDIR += jdom
SUBDIR += jflex
SUBDIR += jfreechart

38
java/jdk8-doc/Makefile Normal file
View File

@@ -0,0 +1,38 @@
# $FreeBSD$
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VER}
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMESUFFIX= ${JDK_VERSION}-doc
DISTNAME= jdk-${JDK_VERSION}u${JDK_UPDATE_VER}-apidocs
MAINTAINER= java@FreeBSD.org
COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_VERSION}
NO_CDROM= License does not allow distribution with fee.
RESTRICTED= This documentation is under license and export control.
WRKSRC= ${WRKDIR}/docs
JDK_VERSION= 8
JDK_UPDATE_VER= 5
DOWNLOAD_URL= http://www.oracle.com/technetwork/java/javase/downloads/index.html
NO_BUILD= yes
USES= zip
PORTDOCS= *
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL} by selecting the "Download" link for the "Java SE 8 Documentation", place it in ${DISTDIR} and then run make again
.endif
do-install:
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/)
@${ECHO} " [ DONE ]"
.include <bsd.port.post.mk>

2
java/jdk8-doc/distinfo Normal file
View File

@@ -0,0 +1,2 @@
SHA256 (jdk-8u5-apidocs.zip) = 89696b9d189066b08ef956345998bc12d0b5a6bea39f22000b7f374afe76f6fe
SIZE (jdk-8u5-apidocs.zip) = 88441146

6
java/jdk8-doc/pkg-descr Normal file
View File

@@ -0,0 +1,6 @@
Java Development Kit 8 Documentation. Contains release information,
API documentation, guides to new features and tool documentation.
The documentation will be installed in ${PREFIX}/share/doc/jdk8/
WWW: http://www.oracle.com/us/technologies/java/index.html