# 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 MASTER_SITES= # DISTNAME= jdk-1_1_8_003-doc MAINTAINER= ernst@jollem.com NO_CDROM= "License does not allow distribution with fee." RESTRICTED= "This software is under license and export control." .if defined(BATCH) || defined(PACKAGE_BUILDING) IGNORE= "You can not legally distribute packages" .endif PLIST_SUB+= JDK_HOME=${JDK_HOME:S/^${PREFIX}\///} JDK_HOME?= ${PREFIX}/jdk${PORTVERSION} WRKSRC= ${WRKDIR}/jdk${PORTVERSION} NO_BUILD= yes .include .for file in ${DISTFILES} .if !exists(${DISTDIR}/${file}) IGNORE=You must manually fetch ${file} from http://java.sun.com/jdk/1.1/docs.html, place it in ${DISTDIR} and then run make again. .endif .endfor do-install: ${MKDIR} ${PREFIX}/jdk${PORTVERSION} ${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/ @${SED} "/%%JDK_HOME%%/s//${JDK_HOME:S/\//\\\//g}/" < ${PKGMESSAGE} .include