svn commit: r357232 - in head/java: . jdk8-doc

Jung-uk Kim jkim at FreeBSD.org
Tue Jun 10 00:02:33 UTC 2014


Author: jkim
Date: Tue Jun 10 00:02:31 2014
New Revision: 357232
URL: http://svnweb.freebsd.org/changeset/ports/357232
QAT: https://qat.redports.org/buildarchive/r357232/

Log:
  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

Added:
  head/java/jdk8-doc/
  head/java/jdk8-doc/Makefile   (contents, props changed)
  head/java/jdk8-doc/distinfo   (contents, props changed)
  head/java/jdk8-doc/pkg-descr   (contents, props changed)
Modified:
  head/java/Makefile

Modified: head/java/Makefile
==============================================================================
--- head/java/Makefile	Tue Jun 10 00:01:35 2014	(r357231)
+++ head/java/Makefile	Tue Jun 10 00:02:31 2014	(r357232)
@@ -95,6 +95,7 @@
     SUBDIR += jdbcpool
     SUBDIR += jdk16-doc
     SUBDIR += jdk7-doc
+    SUBDIR += jdk8-doc
     SUBDIR += jdom
     SUBDIR += jflex
     SUBDIR += jfreechart

Added: head/java/jdk8-doc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jdk8-doc/Makefile	Tue Jun 10 00:02:31 2014	(r357232)
@@ -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 at 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>

Added: head/java/jdk8-doc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jdk8-doc/distinfo	Tue Jun 10 00:02:31 2014	(r357232)
@@ -0,0 +1,2 @@
+SHA256 (jdk-8u5-apidocs.zip) = 89696b9d189066b08ef956345998bc12d0b5a6bea39f22000b7f374afe76f6fe
+SIZE (jdk-8u5-apidocs.zip) = 88441146

Added: head/java/jdk8-doc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jdk8-doc/pkg-descr	Tue Jun 10 00:02:31 2014	(r357232)
@@ -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


More information about the svn-ports-head mailing list