diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-08 09:17:17 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-08 09:17:17 +0000 |
commit | 4c6ba8c8e637f3eb8cbfcaa0cbf6f19e4597f473 (patch) | |
tree | 487916d11ae76e8cbc1a2e4079a366176c1ccf5f /java/jdk14-doc/Makefile | |
parent | 77461057bfad762d0d745fb8ea03a073adcda57d (diff) | |
download | ports-4c6ba8c8e637f3eb8cbfcaa0cbf6f19e4597f473.tar.gz ports-4c6ba8c8e637f3eb8cbfcaa0cbf6f19e4597f473.zip |
Move jdk-doc into jdk11-doc and add new jdk{12,13,14}-doc ports.
PR: 28183
Submitted by: Ernst de Haan <ernst@jollem.com>
Repo-copy by: jdp
Notes
Notes:
svn path=/head/; revision=48555
Diffstat (limited to 'java/jdk14-doc/Makefile')
-rw-r--r-- | java/jdk14-doc/Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/java/jdk14-doc/Makefile b/java/jdk14-doc/Makefile index ec8a09c78a12..f812ca7ec4a6 100644 --- a/java/jdk14-doc/Makefile +++ b/java/jdk14-doc/Makefile @@ -1,15 +1,15 @@ -# New ports collection makefile for: JDK documentation -# Date created: Mon Mar 8 10:10:42 EET 1999 -# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com> +# New ports collection makefile for: jdk-doc-1.4 +# Date created: June 1, 2001 +# Whom: Ernst de Haan <ernst@jollem.com> # # $FreeBSD$ # PORTNAME= jdk-doc -PORTVERSION= 1.1.8 +PORTVERSION= ${JDK_VERSION:S/_/./g:S/-beta/b1/} CATEGORIES= java MASTER_SITES= # -DISTNAME= jdk-1_1_8_003-doc +DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc MAINTAINER= ernst@jollem.com @@ -20,22 +20,25 @@ RESTRICTED= "This software is under license and export control." IGNORE= "You cannot legally distribute packages" .endif -PLIST_SUB+= JDK_HOME=${JDK_HOME:S/^${PREFIX}\///} -JDK_HOME?= ${PREFIX}/jdk${PORTVERSION} +PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} +TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER} -WRKSRC= ${WRKDIR}/jdk${PORTVERSION} +WRKSRC= ${WRKDIR}/docs +JDK_VERSION= 1.4.0-beta +JDK_MAJOR_VER= ${JDK_VERSION:R} +DOWNLOAD_URL= http://java.sun.com/j2se/${JDK_MAJOR_VER}/\#download NO_BUILD= yes +USE_ZIP= yes .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from http://java.sun.com/jdk/1.1/docs.html, place it in ${DISTDIR} and then run make again +IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif do-install: - ${MKDIR} ${PREFIX}/jdk${PORTVERSION} - ${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/ - @${SED} "/%%JDK_HOME%%/s//${JDK_HOME:S/\//\\\//g}/" < ${PKGMESSAGE} + ${MKDIR} ${TARGET_DIR} + ${CP} -r ${WRKSRC}/* ${TARGET_DIR} .include <bsd.port.post.mk> |