diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-06-21 10:56:47 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-06-21 10:56:47 +0800 |
commit | 97eb9bff133ce5c0c5df6cbacc2d2cc9b0f15523 (patch) | |
tree | d219dab10074e9a0dd4ae62dce4f9d9d263fb484 /java/jdk12-doc/Makefile | |
parent | 1f4dc4b4a9fe8d33cf56eb6a3df73059a8ebdd0d (diff) | |
download | freebsd-ports-gnome-97eb9bff133ce5c0c5df6cbacc2d2cc9b0f15523.tar.gz freebsd-ports-gnome-97eb9bff133ce5c0c5df6cbacc2d2cc9b0f15523.tar.zst freebsd-ports-gnome-97eb9bff133ce5c0c5df6cbacc2d2cc9b0f15523.zip |
a) Update jdk-doc to 1.1.8. (from submitter)
b) Change the PLIST to use a PLIST_SUB for the version number
to cut down on the size of diffs. (me)
PR: 12312
Submitted by: Steve Coltrin <spcoltri@io.com>
Diffstat (limited to 'java/jdk12-doc/Makefile')
-rw-r--r-- | java/jdk12-doc/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/java/jdk12-doc/Makefile b/java/jdk12-doc/Makefile index 8e244ef9f427..de6ed5022b58 100644 --- a/java/jdk12-doc/Makefile +++ b/java/jdk12-doc/Makefile @@ -1,22 +1,24 @@ # New ports collection makefile for: JDK documentation -# Version required: 1.1.7 +# Version required: 1.1.8 # Date created: Mon Mar 8 10:10:42 EET 1999 # Whom: Martti Kuparinen <martti.kuparinen@ericsson.com> # -# $Id: Makefile,v 1.3 1999/05/05 15:07:34 taoka Exp $ +# $Id: Makefile,v 1.4 1999/05/06 00:13:56 taoka Exp $ # -DISTNAME= jdk117B-doc -PKGNAME= jdk-doc-1.1.7 +DISTNAME= jdk118-doc +PKGNAME= jdk-doc-1.1.8 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 +VERSION= 1.1.8 +WRKSRC= ${WRKDIR}/jdk${VERSION} NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/MESSAGE +PLIST_SUB+= VERSION=${VERSION} .include <bsd.port.pre.mk> @@ -36,9 +38,9 @@ do-fetch: .endif do-install: - ${MKDIR} ${PREFIX}/jdk1.1.7 + ${MKDIR} ${PREFIX}/jdk${VERSION} (cd ${WRKSRC} && ${TAR} -cf - docs) \ - | (cd ${PREFIX}/jdk1.1.7 && ${TAR} -xf -) + | (cd ${PREFIX}/jdk${VERSION} && ${TAR} -xf -) @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} |