aboutsummaryrefslogtreecommitdiff
path: root/java/java-tutorial
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-04-12 06:21:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-04-12 06:21:15 +0000
commit5cd5b258b59f63241fff7b2d0cdeda22c2138b33 (patch)
tree98671b38100211b23e9d578a8a5a241e41b8a707 /java/java-tutorial
parent343c80d542a8a68a6de7c4e7b02a392d8e1d6fa0 (diff)
downloadports-5cd5b258b59f63241fff7b2d0cdeda22c2138b33.tar.gz
ports-5cd5b258b59f63241fff7b2d0cdeda22c2138b33.zip
Notes
Diffstat (limited to 'java/java-tutorial')
-rw-r--r--java/java-tutorial/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/java-tutorial/Makefile b/java/java-tutorial/Makefile
index 31352a52e785..be69532ad868 100644
--- a/java/java-tutorial/Makefile
+++ b/java/java-tutorial/Makefile
@@ -1,31 +1,31 @@
# New ports collection makefile for: JDK tutorial
-# Version required: 1.1.8
# Date created: Tue Mar 23 10:18:20 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
# $FreeBSD$
#
-DISTNAME= tutorial
-PKGNAME= jdk-tutorial-1.1.8
+PORTNAME= jdk-tutorial
+PORTVERSION= 1.1.8
CATEGORIES= java
MASTER_SITES= ftp://ftp.javasoft.com/docs/
+DISTNAME= tutorial
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}
+PLIST_SUB+= VERSION=${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/MESSAGE
.include <bsd.port.pre.mk>
do-install:
- ${MKDIR} ${PREFIX}/jdk${VERSION}/docs/books/tutorial
+ ${MKDIR} ${PREFIX}/jdk${PORTVERSION}/docs/books/tutorial
(cd ${WRKSRC} && ${TAR} -cf - * ) \
- | (cd ${PREFIX}/jdk${VERSION}/docs/books/tutorial && ${TAR} -xf -)
+ | (cd ${PREFIX}/jdk${PORTVERSION}/docs/books/tutorial \
+ && ${TAR} -xf -)
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
@${RM} ${PKGMESSAGE}