1999-03-18 06:16:45 +01:00
|
|
|
# New ports collection makefile for: JDK documentation
|
|
|
|
# Date created: Mon Mar 8 10:10:42 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
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
|
|
|
|
PORTVERSION= 1.1.8
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= java
|
2001-05-31 08:09:27 +02:00
|
|
|
MASTER_SITES= #
|
2000-04-19 11:06:27 +02:00
|
|
|
DISTNAME= jdk-1_1_8_003-doc
|
1999-03-18 06:16:45 +01:00
|
|
|
|
2001-05-31 08:09:27 +02:00
|
|
|
MAINTAINER= ernst@jollem.com
|
1999-03-18 06:16:45 +01:00
|
|
|
|
2001-05-31 08:09:27 +02:00
|
|
|
NO_CDROM= "License does not allow distribution with fee."
|
1999-03-18 06:16:45 +01:00
|
|
|
RESTRICTED= "This software is under license and export control."
|
2001-05-31 08:09:27 +02:00
|
|
|
|
|
|
|
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
2001-05-31 11:19:23 +02:00
|
|
|
IGNORE= "You cannot legally distribute packages"
|
2001-05-31 08:09:27 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST_SUB+= JDK_HOME=${JDK_HOME:S/^${PREFIX}\///}
|
|
|
|
JDK_HOME?= ${PREFIX}/jdk${PORTVERSION}
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
WRKSRC= ${WRKDIR}/jdk${PORTVERSION}
|
2001-05-31 08:09:27 +02:00
|
|
|
|
1999-03-18 06:16:45 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-05-31 11:19:23 +02:00
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
|
|
IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from http://java.sun.com/jdk/1.1/docs.html, place it in ${DISTDIR} and then run make again
|
1999-03-18 06:16:45 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2000-04-12 08:21:15 +02:00
|
|
|
${MKDIR} ${PREFIX}/jdk${PORTVERSION}
|
2000-04-19 11:06:27 +02:00
|
|
|
${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/
|
2001-05-31 08:09:27 +02:00
|
|
|
@${SED} "/%%JDK_HOME%%/s//${JDK_HOME:S/\//\\\//g}/" < ${PKGMESSAGE}
|
1999-03-22 03:21:30 +01:00
|
|
|
|
1999-05-06 02:14:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|