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
|
|
|
#
|
|
|
|
|
2006-10-14 20:20:30 +02:00
|
|
|
PORTNAME= tutorial
|
2006-12-04 00:18:45 +01:00
|
|
|
PORTVERSION= 2006.12.04
|
2005-04-20 01:30:50 +02:00
|
|
|
CATEGORIES= java devel
|
2005-02-21 01:58:30 +01:00
|
|
|
MASTER_SITES= http://java.sun.com/docs/books/tutorialNB/download/
|
2006-10-14 20:20:30 +02:00
|
|
|
PKGNAMEPREFIX= jdk-
|
2005-02-21 01:58:30 +01:00
|
|
|
DISTNAME= tutorial.zip tut-examples.zip tut-swing.zip tut-bookstore-21.zip \
|
|
|
|
tut-bookstore-tomcat.zip tut-bingo
|
1999-04-30 20:16:02 +02:00
|
|
|
|
2006-10-14 20:20:30 +02:00
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
2003-06-11 09:59:52 +02:00
|
|
|
COMMENT= Official Java 2 SDK tutorial
|
1999-04-30 20:16:02 +02:00
|
|
|
|
2000-05-28 05:32:38 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2006-03-06 23:19:53 +01:00
|
|
|
RESTRICTED= This software is under license and export control.
|
1999-04-30 20:16:02 +02:00
|
|
|
NO_BUILD= yes
|
2004-03-25 16:34:02 +01:00
|
|
|
USE_ZIP= yes
|
2005-02-17 20:21:00 +01:00
|
|
|
PORTDOCS= *
|
2005-02-24 03:11:11 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
1999-04-30 20:16:02 +02:00
|
|
|
do-install:
|
2005-02-17 20:21:00 +01:00
|
|
|
@${ECHO_MSG} -n ">> Creating directory ${DOCSDIR}..."
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
|
|
|
|
@${ECHO_MSG} -n ">> Copying files..."
|
|
|
|
@${CP} -R ${WRKSRC}/* ${DOCSDIR}
|
|
|
|
@${CHOWN} -h -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
1999-04-30 20:16:02 +02:00
|
|
|
|
2005-02-21 01:58:30 +01:00
|
|
|
post-install:
|
2005-02-24 03:11:11 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-02-21 01:58:30 +01:00
|
|
|
|
2006-10-14 20:20:30 +02:00
|
|
|
.include <bsd.port.mk>
|