2001-10-08 11:17:17 +02:00
|
|
|
# New ports collection makefile for: jdk-doc-1.4
|
|
|
|
# Date created: June 1, 2001
|
2001-11-27 13:20:49 +01:00
|
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
1999-03-18 06:16:45 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-03-18 06:16:45 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= jdk-doc
|
2004-04-16 01:43:26 +02:00
|
|
|
PORTVERSION= ${JDK_VERSION:S/_/./g}
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= java
|
2001-05-31 08:09:27 +02:00
|
|
|
MASTER_SITES= #
|
2001-10-08 11:17:17 +02:00
|
|
|
DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc
|
1999-03-18 06:16:45 +01:00
|
|
|
|
2004-12-03 02:01:33 +01:00
|
|
|
MAINTAINER= java@FreeBSD.org
|
2004-04-16 01:43:26 +02:00
|
|
|
COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
|
1999-03-18 06:16:45 +01:00
|
|
|
|
2004-04-16 01:43:26 +02:00
|
|
|
LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
2001-05-31 08:09:27 +02:00
|
|
|
NO_CDROM= "License does not allow distribution with fee."
|
2002-10-10 10:38:39 +02:00
|
|
|
RESTRICTED= "This documentation is under license and export control."
|
2001-05-31 08:09:27 +02:00
|
|
|
|
2001-10-08 11:17:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/docs
|
2003-09-26 22:11:00 +02:00
|
|
|
JDK_VERSION= 1.4.2
|
2001-10-08 11:17:17 +02:00
|
|
|
JDK_MAJOR_VER= ${JDK_VERSION:R}
|
2004-04-16 01:43:26 +02:00
|
|
|
JDK_CONCAT_VER= ${JDK_MAJOR_VER:S/.//g}
|
2005-01-11 17:32:27 +01:00
|
|
|
DOWNLOAD_URL= http://javashoplm.sun.com/ECom/docs/Welcome.jsp?SiteId=JSC&TransactionId=noreg&StoreId=22&PartDetailId=7502-j2sdk-1.4.2-doc-oth-JPR
|
2001-05-31 08:09:27 +02:00
|
|
|
|
1999-03-18 06:16:45 +01:00
|
|
|
NO_BUILD= yes
|
2001-10-08 11:17:17 +02:00
|
|
|
USE_ZIP= yes
|
2004-04-16 01:43:26 +02:00
|
|
|
PORTDOCS= api guide images index.html install-notes relnotes tooldocs
|
1999-03-18 06:16:45 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-05-31 11:19:23 +02:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
2001-10-08 11:17:17 +02:00
|
|
|
IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
|
1999-03-18 06:16:45 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-04-16 01:43:26 +02:00
|
|
|
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${CP} -R ${WRKSRC}/* ${DOCSDIR}
|
|
|
|
@${ECHO} " [ DONE ]"
|
1999-03-22 03:21:30 +01:00
|
|
|
|
1999-05-06 02:14:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|