1999-03-18 00:16:45 -05:00
|
|
|
# New ports collection makefile for: JDK documentation
|
1999-06-20 22:56:47 -04:00
|
|
|
# Version required: 1.1.8
|
1999-03-18 00:16:45 -05:00
|
|
|
# Date created: Mon Mar 8 10:10:42 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
1999-08-22 15:01:07 -04:00
|
|
|
# $Id: Makefile,v 1.7 1999/08/02 22:45:41 cpiazza Exp $
|
1999-03-18 00:16:45 -05:00
|
|
|
#
|
|
|
|
|
1999-06-20 22:56:47 -04:00
|
|
|
DISTNAME= jdk118-doc
|
|
|
|
PKGNAME= jdk-doc-1.1.8
|
1999-06-27 22:24:57 -04:00
|
|
|
CATEGORIES= java
|
1999-03-18 00:16:45 -05:00
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
|
|
|
RESTRICTED= "This software is under license and export control."
|
|
|
|
IS_INTERACTIVE= "Requires manual fetch"
|
1999-06-20 22:56:47 -04:00
|
|
|
VERSION= 1.1.8
|
|
|
|
WRKSRC= ${WRKDIR}/jdk${VERSION}
|
1999-03-18 00:16:45 -05:00
|
|
|
NO_BUILD= yes
|
1999-06-20 22:56:47 -04:00
|
|
|
PLIST_SUB+= VERSION=${VERSION}
|
1999-03-18 00:16:45 -05: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 ''
|
1999-08-02 18:45:41 -04:00
|
|
|
@${FALSE}
|
1999-03-18 00:16:45 -05:00
|
|
|
.endif
|
|
|
|
|
1999-08-02 18:45:41 -04:00
|
|
|
pre-install:
|
|
|
|
@if [ !`id -u` ]; then \
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHOWN} -R root:wheel ${WRKDIR}/*; \
|
1999-08-02 18:45:41 -04:00
|
|
|
fi
|
|
|
|
|
1999-03-18 00:16:45 -05:00
|
|
|
do-install:
|
1999-06-20 22:56:47 -04:00
|
|
|
${MKDIR} ${PREFIX}/jdk${VERSION}
|
1999-03-21 21:21:30 -05:00
|
|
|
(cd ${WRKSRC} && ${TAR} -cf - docs) \
|
1999-06-20 22:56:47 -04:00
|
|
|
| (cd ${PREFIX}/jdk${VERSION} && ${TAR} -xf -)
|
1999-08-02 18:45:41 -04:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} s+!!PREFIX!!+${PREFIX}+g
|
1999-03-21 21:21:30 -05:00
|
|
|
|
1999-05-05 20:14:04 -04:00
|
|
|
.include <bsd.port.post.mk>
|