1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/java/java-tutorial/Makefile

31 lines
832 B
Makefile

# 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: Makefile,v 1.4 1999/05/06 00:14:03 taoka Exp $
#
DISTNAME= tutorial
PKGNAME= jdk-tutorial-1.1.7
CATEGORIES= java
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
PKGMESSAGE= ${WRKDIR}/MESSAGE
.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 -)
@${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>