aboutsummaryrefslogtreecommitdiffstats
path: root/java/java-tutorial/Makefile
blob: a9ef7d69a56dbf18b35929adc10274ac95e01995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    JDK tutorial
# Date created:     Tue Mar 23 10:18:20 EET 1999
# Whom:         Martti Kuparinen <martti.kuparinen@ericsson.com>
#
# $FreeBSD$
#

#  Install size for version 2004.03.11 is ~22827 kB.

PORTNAME=   jdk-tutorial
PORTVERSION=    2004.03.11
CATEGORIES= java
MASTER_SITES=   http://java.sun.com/docs/books/tutorial/download/
DISTNAME=   tutorial

MAINTAINER= parv@pair.com
COMMENT=    Official Java 2 SDK tutorial

NO_WRKSUBDIR=   yes
RESTRICTED= "This software is under license and export control."
NO_BUILD=   yes
USE_ZIP=    yes
TARGET_DIR= ${PREFIX}/share/doc/java-tutorial/
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}

.include <bsd.port.pre.mk>

do-install:
    @${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
    @${MKDIR} ${TARGET_DIR}
    @${ECHO} " [ DONE ]"

    @${ECHO} -n ">> Copying files..."
    @${CP} -R ${WRKSRC}/* ${TARGET_DIR}
    @${CHOWN} -h -R ${DOCOWN}:${DOCGRP} ${TARGET_DIR}
    @${ECHO} " [ DONE ]"

.include <bsd.port.post.mk>