# New ports collection makefile for: JDK documentation # Date created: Mon Mar 8 10:10:42 EET 1999 # Whom: Martti Kuparinen # # $FreeBSD$ # PORTNAME= jdk-doc PORTVERSION= 1.1.8 CATEGORIES= java DISTNAME= jdk118-doc MAINTAINER= martti.kuparinen@ericsson.com RESTRICTED= "This software is under license and export control." IS_INTERACTIVE= "Requires manual fetch" WRKSRC= ${WRKDIR}/jdk${PORTVERSION} NO_BUILD= yes PLIST_SUB+= VERSION=${PORTVERSION} .include do-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) @${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} '' @${FALSE} .endif do-install: ${MKDIR} ${PREFIX}/jdk${PORTVERSION} (cd ${WRKSRC} && ${TAR} -cf - docs) \ | (cd ${PREFIX}/jdk${PORTVERSION} && ${TAR} -xf -) @${CAT} ${PKGMESSAGE} | ${SED} s+!!PREFIX!!+${PREFIX}+g .include