aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-06-10 08:02:31 +0800
committerjkim <jkim@FreeBSD.org>2014-06-10 08:02:31 +0800
commitdbbce02fb6b0a31db8765245f1faf6deb6d96b9c (patch)
tree923092facd9035db26da973ef548d04dc34d1834 /java
parent866e2b0592532b247ae44c071399d5f99faf06fb (diff)
downloadfreebsd-ports-gnome-dbbce02fb6b0a31db8765245f1faf6deb6d96b9c.tar.gz
freebsd-ports-gnome-dbbce02fb6b0a31db8765245f1faf6deb6d96b9c.tar.zst
freebsd-ports-gnome-dbbce02fb6b0a31db8765245f1faf6deb6d96b9c.zip
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
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/jdk8-doc/Makefile38
-rw-r--r--java/jdk8-doc/distinfo2
-rw-r--r--java/jdk8-doc/pkg-descr6
4 files changed, 47 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index e5387c60d840..aa14d028c175 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -95,6 +95,7 @@
SUBDIR += jdbcpool
SUBDIR += jdk16-doc
SUBDIR += jdk7-doc
+ SUBDIR += jdk8-doc
SUBDIR += jdom
SUBDIR += jflex
SUBDIR += jfreechart
diff --git a/java/jdk8-doc/Makefile b/java/jdk8-doc/Makefile
new file mode 100644
index 000000000000..0802dd10faa1
--- /dev/null
+++ b/java/jdk8-doc/Makefile
@@ -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>
diff --git a/java/jdk8-doc/distinfo b/java/jdk8-doc/distinfo
new file mode 100644
index 000000000000..5037bf04ec95
--- /dev/null
+++ b/java/jdk8-doc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (jdk-8u5-apidocs.zip) = 89696b9d189066b08ef956345998bc12d0b5a6bea39f22000b7f374afe76f6fe
+SIZE (jdk-8u5-apidocs.zip) = 88441146
diff --git a/java/jdk8-doc/pkg-descr b/java/jdk8-doc/pkg-descr
new file mode 100644
index 000000000000..4f1ba2d35c9c
--- /dev/null
+++ b/java/jdk8-doc/pkg-descr
@@ -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