1999-04-30 20:16:02 +02:00
|
|
|
# New ports collection makefile for: JDK tutorial
|
|
|
|
# Date created: Tue Mar 23 10:18:20 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-04-30 20:16:02 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= jdk-tutorial
|
|
|
|
PORTVERSION= 1.1.8
|
2001-03-16 02:22:00 +01:00
|
|
|
PORTREVISION= 2
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= java
|
1999-04-30 20:16:02 +02:00
|
|
|
MASTER_SITES= ftp://ftp.javasoft.com/docs/
|
2000-04-12 08:21:15 +02:00
|
|
|
DISTNAME= tutorial
|
1999-04-30 20:16:02 +02:00
|
|
|
|
2001-04-26 12:37:51 +02:00
|
|
|
MAINTAINER= ports@freebsd.org
|
1999-04-30 20:16:02 +02:00
|
|
|
|
2000-05-28 05:32:38 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
1999-04-30 20:16:02 +02:00
|
|
|
RESTRICTED= "This software is under license and export control."
|
|
|
|
NO_BUILD= yes
|
2000-04-12 08:21:15 +02:00
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
2000-05-28 05:32:38 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
1999-04-30 20:16:02 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
2000-04-12 08:21:15 +02:00
|
|
|
${MKDIR} ${PREFIX}/jdk${PORTVERSION}/docs/books/tutorial
|
1999-04-30 20:16:02 +02:00
|
|
|
(cd ${WRKSRC} && ${TAR} -cf - * ) \
|
2000-04-12 08:21:15 +02:00
|
|
|
| (cd ${PREFIX}/jdk${PORTVERSION}/docs/books/tutorial \
|
|
|
|
&& ${TAR} -xf -)
|
2000-10-08 12:23:48 +02:00
|
|
|
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
1999-05-06 02:14:04 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-06-29 01:26:01 +02:00
|
|
|
@${RM} ${PKGMESSAGE}
|
1999-04-30 20:16:02 +02:00
|
|
|
|
1999-05-06 02:14:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|