Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 20:07:54 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309687 - in head/java: . jdk7-doc
Message-ID:  <201212302007.qBUK7s34071441@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Sun Dec 30 20:07:54 2012
New Revision: 309687
URL: http://svnweb.freebsd.org/changeset/ports/309687

Log:
  . Add a port for the JDK7 documentation.
  
  "Java Development Kit 7 Documentation. Contains release information,
   API documentation, guides to new features and tool documentation."

Added:
  head/java/jdk7-doc/
     - copied from r309686, head/java/jdk16-doc/
Modified:
  head/java/Makefile
  head/java/jdk7-doc/Makefile
  head/java/jdk7-doc/distinfo
  head/java/jdk7-doc/pkg-descr   (contents, props changed)

Modified: head/java/Makefile
==============================================================================
--- head/java/Makefile	Sun Dec 30 19:04:10 2012	(r309686)
+++ head/java/Makefile	Sun Dec 30 20:07:54 2012	(r309687)
@@ -96,6 +96,7 @@
     SUBDIR += jcommon
     SUBDIR += jdbcpool
     SUBDIR += jdk16-doc
+    SUBDIR += jdk7-doc
     SUBDIR += jdom
     SUBDIR += jflex
     SUBDIR += jfreechart

Modified: head/java/jdk7-doc/Makefile
==============================================================================
--- head/java/jdk16-doc/Makefile	Sun Dec 30 19:04:10 2012	(r309686)
+++ head/java/jdk7-doc/Makefile	Sun Dec 30 20:07:54 2012	(r309687)
@@ -1,21 +1,16 @@
-# New ports collection makefile for:	jdk16-doc
-# Date created:		August 18, 2007
-# Whom:			Greg Lewis <glewis@FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	jdk-doc
 PORTVERSION=	${JDK_VERSION}.${JDK_UPDATE_VER}
 CATEGORIES=	java
 MASTER_SITES=	#
-DISTNAME=	jdk-6u30-apidocs
+DISTNAME=	jdk-${JDK_VERSION}u${JDK_UPDATE_VER}-apidocs
 
 MAINTAINER=	java@FreeBSD.org
 COMMENT=	Java Development Kit ${JDK_MAJOR_VER} Documentation
 
-LATEST_LINK=	jdk${JDK_CONCAT_VER}-doc
-DOCSDIR?=	${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
+LATEST_LINK=	jdk${JDK_VERSION}-doc
+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.
 .if defined(NOPORTDOCS)
@@ -23,10 +18,8 @@ IGNORE=		port only installs documentatio
 .endif
 
 WRKSRC=		${WRKDIR}/docs
-JDK_VERSION=	1.6.0
-JDK_MAJOR_VER=	${JDK_VERSION:R}
-JDK_CONCAT_VER=	${JDK_MAJOR_VER:S/.//g}
-JDK_UPDATE_VER=	30
+JDK_VERSION=	7
+JDK_UPDATE_VER=	6
 DOWNLOAD_URL=	http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
 NO_BUILD=	yes
@@ -36,7 +29,7 @@ PORTDOCS=	*
 .include <bsd.port.pre.mk>
 
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
-IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL} by selecting the \"Download\" link for the \"Java SE 6 Documentation\", place it in ${DISTDIR} and then run make again
+IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL} by selecting the \"Download\" link for the \"Java SE 7 Documentation\", place it in ${DISTDIR} and then run make again
 .endif
 
 do-install:

Modified: head/java/jdk7-doc/distinfo
==============================================================================
--- head/java/jdk16-doc/distinfo	Sun Dec 30 19:04:10 2012	(r309686)
+++ head/java/jdk7-doc/distinfo	Sun Dec 30 20:07:54 2012	(r309687)
@@ -1,2 +1,2 @@
-SHA256 (jdk-6u30-apidocs.zip) = 92739c56e02fa6e7ac8d60a1f59a0ef4a59ac99ab2979d3cdc495bfecf1a50ab
-SIZE (jdk-6u30-apidocs.zip) = 59086542
+SHA256 (jdk-7u6-apidocs.zip) = 4484cf9c3a8a5ba72444e45918557dd0d88440e6b06501a7ef436d6c31b8c991
+SIZE (jdk-7u6-apidocs.zip) = 60397544

Modified: head/java/jdk7-doc/pkg-descr
==============================================================================
--- head/java/jdk16-doc/pkg-descr	Sun Dec 30 19:04:10 2012	(r309686)
+++ head/java/jdk7-doc/pkg-descr	Sun Dec 30 20:07:54 2012	(r309687)
@@ -1,6 +1,6 @@
-Java Development Kit 1.6 Documentation. Contains release information,
+Java Development Kit 7 Documentation. Contains release information,
 API documentation, guides to new features and tool documentation.
 
-The documentation will be installed in ${PREFIX}/share/doc/jdk1.6/
+The documentation will be installed in ${PREFIX}/share/doc/jdk7/
 
-WWW: http://java.sun.com/javase/
+WWW: http://www.oracle.com/us/technologies/java/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212302007.qBUK7s34071441>