aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk13-doc/Makefile
blob: ba8945afc695ac0675de0a976699fed98750209b (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
39
40
41
42
43
44
45
# New ports collection makefile for:    JDK documentation
# Version required: 1.1.7
# Date created:     Mon Mar  8 10:10:42 EET 1999
# Whom:         Martti Kuparinen <martti.kuparinen@ericsson.com>
#
# $Id: Makefile,v 1.1.1.1 1999/03/18 05:16:45 taoka Exp $
#

DISTNAME=   jdk117B-doc
PKGNAME=    jdk-doc-1.1.7
CATEGORIES= lang

MAINTAINER= martti.kuparinen@ericsson.com

RESTRICTED= "This software is under license and export control."
IS_INTERACTIVE= "Requires manual fetch"
WRKSRC=     ${WRKDIR}/jdk1.1.7B
NO_BUILD=   yes

.include <bsd.port.pre.mk>

do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
    @echo ''
    @echo 'You have to fetch the documentation from'
    @echo '    http://java.sun.com/products/jdk/1.1/docs.html'
    @echo ''
    @echo 'Put ${DISTNAME}${EXTRACT_SUFX} in in ${DISTDIR}/ and run make again.'
    @echo ''
    @echo 'All this hassle is because of the license and export restrictions'
    @echo 'as described in'
    @echo '    http://java.sun.com/feedback/faq/downloading.html'
    @echo ''
    @exit 1
.endif

do-install:
    ${MKDIR} ${PREFIX}/jdk1.1.7
    (cd ${WRKSRC} && ${TAR} -cf - docs) \
        | (cd ${PREFIX}/jdk1.1.7 && ${TAR} -xf -)

post-install:
    @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE

.include <bsd.port.mk>