summaryrefslogtreecommitdiff
path: root/java/jdk-tutorial/Makefile
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-28 23:26:01 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-28 23:26:01 +0000
commit7d4ce44221cda61594f564edc10baa88f4c15eab (patch)
tree6185763873de1447045b6de33b3a8cc576ba3a81 /java/jdk-tutorial/Makefile
parentActivate xmx. (diff)
Update to version 1.1.8 to match JDK.
PR: 12114 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=19889
Diffstat (limited to 'java/jdk-tutorial/Makefile')
-rw-r--r--java/jdk-tutorial/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/java/jdk-tutorial/Makefile b/java/jdk-tutorial/Makefile
index 5c60aefa3a02..68a26d9df394 100644
--- a/java/jdk-tutorial/Makefile
+++ b/java/jdk-tutorial/Makefile
@@ -1,30 +1,36 @@
# New ports collection makefile for: JDK tutorial
-# Version required: 1.1.7
+# Version required: 1.1.8
# Date created: Tue Mar 23 10:18:20 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
-# $Id: Makefile,v 1.4 1999/05/06 00:14:03 taoka Exp $
+# $Id: Makefile,v 1.5 1999/06/28 02:22:07 billf Exp $
#
DISTNAME= tutorial
-PKGNAME= jdk-tutorial-1.1.7
+PKGNAME= jdk-tutorial-1.1.8
CATEGORIES= java
MASTER_SITES= ftp://ftp.javasoft.com/docs/
MAINTAINER= martti.kuparinen@ericsson.com
+VERSION= 1.1.8
WRKSRC= ${WRKDIR}
RESTRICTED= "This software is under license and export control."
NO_BUILD= yes
+PLIST_SUB+= VERSION=${VERSION}
PKGMESSAGE= ${WRKDIR}/MESSAGE
.include <bsd.port.pre.mk>
+post-extract:
+ (cd ${WRKSRC} && chown -R root.wheel *)
+
do-install:
- ${MKDIR} ${PREFIX}/jdk1.1.7/docs/books/tutorial
+ ${MKDIR} ${PREFIX}/jdk${VERSION}/docs/books/tutorial
(cd ${WRKSRC} && ${TAR} -cf - * ) \
- | (cd ${PREFIX}/jdk1.1.7/docs/books/tutorial && ${TAR} -xf -)
+ | (cd ${PREFIX}/jdk${VERSION}/docs/books/tutorial && ${TAR} -xf -)
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
+ @${RM} ${PKGMESSAGE}
.include <bsd.port.post.mk>