2004-04-16 01:46:28 +02:00
|
|
|
# New ports collection makefile for: jdk15-doc
|
|
|
|
# Date created: April 16, 2004
|
|
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jdk-doc
|
|
|
|
PORTVERSION= ${JDK_VERSION:S/_/./g}
|
2005-12-02 20:32:17 +01:00
|
|
|
PORTREVISION= 1
|
2004-04-16 01:46:28 +02:00
|
|
|
CATEGORIES= java
|
|
|
|
MASTER_SITES= #
|
2005-01-09 08:18:20 +01:00
|
|
|
DISTNAME= jdk-1_5_0-doc
|
2004-04-16 01:46:28 +02:00
|
|
|
|
2004-12-03 02:01:33 +01:00
|
|
|
MAINTAINER= java@FreeBSD.org
|
2004-04-16 01:46:28 +02:00
|
|
|
COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
|
|
|
|
|
|
|
|
LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
2009-05-03 08:17:08 +02:00
|
|
|
NO_CDROM= License does not allow distribution with fee.
|
|
|
|
RESTRICTED= This documentation is under license and export control.
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
IGNORE= port only installs documentation
|
|
|
|
.endif
|
2004-04-16 01:46:28 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/docs
|
2005-01-09 08:18:20 +01:00
|
|
|
JDK_VERSION= 1.5.0
|
2004-04-16 01:46:28 +02:00
|
|
|
JDK_MAJOR_VER= ${JDK_VERSION:R}
|
|
|
|
JDK_CONCAT_VER= ${JDK_MAJOR_VER:S/.//g}
|
2005-01-09 08:18:20 +01:00
|
|
|
DOWNLOAD_URL= http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0-doc-oth-JPR&SiteId=JSC&TransactionId=noreg
|
2004-04-16 01:46:28 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_ZIP= yes
|
2005-12-02 20:32:17 +01:00
|
|
|
PORTDOCS= api guide images index.html relnotes tooldocs
|
2004-04-16 01:46:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-09-03 08:21:24 +02:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
|
2004-04-16 01:46:28 +02:00
|
|
|
IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${CP} -R ${WRKSRC}/* ${DOCSDIR}
|
|
|
|
@${ECHO} " [ DONE ]"
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|