1999-03-18 05:16:45 +00:00
|
|
|
# New ports collection makefile for: JDK documentation
|
|
|
|
# Version required: 1.1.7
|
|
|
|
# Date created: Mon Mar 8 10:10:42 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
1999-05-06 00:14:04 +00:00
|
|
|
# $Id: Makefile,v 1.3 1999/05/05 15:07:34 taoka Exp $
|
1999-03-18 05:16:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= jdk117B-doc
|
|
|
|
PKGNAME= jdk-doc-1.1.7
|
|
|
|
CATEGORIES= lang
|
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
|
|
|
RESTRICTED= "This software is under license and export control."
|
|
|
|
IS_INTERACTIVE= "Requires manual fetch"
|
|
|
|
WRKSRC= ${WRKDIR}/jdk1.1.7B
|
|
|
|
NO_BUILD= yes
|
1999-05-06 00:14:04 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
1999-03-18 05:16:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-fetch:
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
|
|
@echo ''
|
|
|
|
@echo 'You have to fetch the documentation from'
|
|
|
|
@echo ' http://java.sun.com/products/jdk/1.1/docs.html'
|
|
|
|
@echo ''
|
|
|
|
@echo 'Put ${DISTNAME}${EXTRACT_SUFX} in in ${DISTDIR}/ and run make again.'
|
|
|
|
@echo ''
|
|
|
|
@echo 'All this hassle is because of the license and export restrictions'
|
|
|
|
@echo 'as described in'
|
|
|
|
@echo ' http://java.sun.com/feedback/faq/downloading.html'
|
|
|
|
@echo ''
|
|
|
|
@exit 1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/jdk1.1.7
|
1999-03-22 02:21:30 +00:00
|
|
|
(cd ${WRKSRC} && ${TAR} -cf - docs) \
|
|
|
|
| (cd ${PREFIX}/jdk1.1.7 && ${TAR} -xf -)
|
1999-05-06 00:14:04 +00:00
|
|
|
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-03-22 02:21:30 +00:00
|
|
|
|
1999-05-06 00:14:04 +00:00
|
|
|
.include <bsd.port.post.mk>
|