1999-03-18 05:16:45 +00: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 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-03-18 05:16:45 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= jdk-doc
|
|
|
|
PORTVERSION= 1.1.8
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java
|
2000-04-12 06:21:15 +00:00
|
|
|
DISTNAME= jdk118-doc
|
1999-03-18 05:16:45 +00:00
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
|
|
|
RESTRICTED= "This software is under license and export control."
|
|
|
|
IS_INTERACTIVE= "Requires manual fetch"
|
2000-04-12 06:21:15 +00:00
|
|
|
WRKSRC= ${WRKDIR}/jdk${PORTVERSION}
|
1999-03-18 05:16:45 +00:00
|
|
|
NO_BUILD= yes
|
2000-04-12 06:21:15 +00:00
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
1999-03-18 05:16:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-fetch:
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} ''
|
|
|
|
@${ECHO_MSG} 'You have to fetch the documentation from'
|
|
|
|
@${ECHO_MSG} ' http://java.sun.com/products/jdk/1.1/docs.html'
|
|
|
|
@${ECHO_MSG} ''
|
|
|
|
@${ECHO_MSG} 'Put ${DISTNAME}${EXTRACT_SUFX} in in ${DISTDIR}/ and run make again.'
|
|
|
|
@${ECHO_MSG} ''
|
|
|
|
@${ECHO_MSG} 'All this hassle is because of the license and export restrictions'
|
|
|
|
@${ECHO_MSG} 'as described in'
|
|
|
|
@${ECHO_MSG} ' http://java.sun.com/feedback/faq/downloading.html'
|
|
|
|
@${ECHO_MSG} ''
|
1999-08-02 22:45:41 +00:00
|
|
|
@${FALSE}
|
1999-03-18 05:16:45 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2000-04-12 06:21:15 +00:00
|
|
|
${MKDIR} ${PREFIX}/jdk${PORTVERSION}
|
1999-03-22 02:21:30 +00:00
|
|
|
(cd ${WRKSRC} && ${TAR} -cf - docs) \
|
2000-04-12 06:21:15 +00:00
|
|
|
| (cd ${PREFIX}/jdk${PORTVERSION} && ${TAR} -xf -)
|
1999-08-02 22:45:41 +00:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} s+!!PREFIX!!+${PREFIX}+g
|
1999-03-22 02:21:30 +00:00
|
|
|
|
1999-05-06 00:14:04 +00:00
|
|
|
.include <bsd.port.post.mk>
|