summaryrefslogtreecommitdiff
path: root/java/jdk-tutorial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk-tutorial/Makefile')
-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>