summaryrefslogtreecommitdiff
path: root/java/jdk-tutorial/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-04-30 18:16:02 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-04-30 18:16:02 +0000
commit7baf7424efa980a22624673ca5278988d82d55cc (patch)
tree3d3741cea11709f3a47bd85d8dff321fa68b1b54 /java/jdk-tutorial/Makefile
parentPrevious commit message is incorrect. (diff)
Sun's Java Developers Kit tutorial
PR: 10745 Submitted by: Martti Kuparinen <martti.kuparinen@ericsson.com>
Notes
Notes: svn path=/head/; revision=18235
Diffstat (limited to '')
-rw-r--r--java/jdk-tutorial/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/jdk-tutorial/Makefile b/java/jdk-tutorial/Makefile
new file mode 100644
index 000000000000..f13024dfb855
--- /dev/null
+++ b/java/jdk-tutorial/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: JDK tutorial
+# Version required: 1.1.7
+# Date created: Tue Mar 23 10:18:20 EET 1999
+# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
+#
+# $Id$
+#
+
+DISTNAME= tutorial
+PKGNAME= jdk-tutorial-1.1.7
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.javasoft.com/docs/
+
+MAINTAINER= martti.kuparinen@ericsson.com
+
+WRKSRC= ${WRKDIR}
+RESTRICTED= "This software is under license and export control."
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${MKDIR} ${PREFIX}/jdk1.1.7/docs/books/tutorial
+ (cd ${WRKSRC} && ${TAR} -cf - * ) \
+ | (cd ${PREFIX}/jdk1.1.7/docs/books/tutorial && ${TAR} -xf -)
+
+post-install:
+ @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE.tmpl > ${PKGDIR}/MESSAGE
+ @${CAT} ${PKGDIR}/MESSAGE
+
+pre-clean:
+ @${RM} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>