1999-04-30 18:16:02 +00:00
|
|
|
# New ports collection makefile for: JDK tutorial
|
1999-06-28 23:26:01 +00:00
|
|
|
# Version required: 1.1.8
|
1999-04-30 18:16:02 +00:00
|
|
|
# Date created: Tue Mar 23 10:18:20 EET 1999
|
|
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-04-30 18:16:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tutorial
|
1999-06-28 23:26:01 +00:00
|
|
|
PKGNAME= jdk-tutorial-1.1.8
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java
|
1999-04-30 18:16:02 +00:00
|
|
|
MASTER_SITES= ftp://ftp.javasoft.com/docs/
|
|
|
|
|
|
|
|
MAINTAINER= martti.kuparinen@ericsson.com
|
|
|
|
|
1999-06-28 23:26:01 +00:00
|
|
|
VERSION= 1.1.8
|
1999-04-30 18:16:02 +00:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
RESTRICTED= "This software is under license and export control."
|
|
|
|
NO_BUILD= yes
|
1999-06-28 23:26:01 +00:00
|
|
|
PLIST_SUB+= VERSION=${VERSION}
|
1999-05-06 00:14:04 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
1999-04-30 18:16:02 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-06-28 23:26:01 +00:00
|
|
|
post-extract:
|
1999-08-22 19:01:07 +00:00
|
|
|
(cd ${WRKSRC} && ${CHOWN} -R root.wheel *)
|
1999-06-28 23:26:01 +00:00
|
|
|
|
1999-04-30 18:16:02 +00:00
|
|
|
do-install:
|
1999-06-28 23:26:01 +00:00
|
|
|
${MKDIR} ${PREFIX}/jdk${VERSION}/docs/books/tutorial
|
1999-04-30 18:16:02 +00:00
|
|
|
(cd ${WRKSRC} && ${TAR} -cf - * ) \
|
1999-06-28 23:26:01 +00:00
|
|
|
| (cd ${PREFIX}/jdk${VERSION}/docs/books/tutorial && ${TAR} -xf -)
|
1999-05-06 00:14:04 +00:00
|
|
|
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-06-28 23:26:01 +00:00
|
|
|
@${RM} ${PKGMESSAGE}
|
1999-04-30 18:16:02 +00:00
|
|
|
|
1999-05-06 00:14:04 +00:00
|
|
|
.include <bsd.port.post.mk>
|