blob: f18463c022ee5686d344cea0a2fda14e7e32c50a (
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
|
# New ports collection makefile for: JDK documentation
# Date created: Mon Mar 8 10:10:42 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
# $FreeBSD$
#
PORTNAME= jdk-doc
PORTVERSION= 1.1.8
CATEGORIES= java
MASTER_SITES= #
DISTNAME= jdk-1_1_8_003-doc
MAINTAINER= ernst@jollem.com
NO_CDROM= "License does not allow distribution with fee."
RESTRICTED= "This software is under license and export control."
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute packages"
.endif
PLIST_SUB+= JDK_HOME=${JDK_HOME:S/^${PREFIX}\///}
JDK_HOME?= ${PREFIX}/jdk${PORTVERSION}
WRKSRC= ${WRKDIR}/jdk${PORTVERSION}
NO_BUILD= yes
.include <bsd.port.pre.mk>
.for file in ${DISTFILES}
.if !exists(${DISTDIR}/${file})
IGNORE=You must manually fetch ${file} from http://java.sun.com/jdk/1.1/docs.html, place it in ${DISTDIR} and then run make again.
.endif
.endfor
do-install:
${MKDIR} ${PREFIX}/jdk${PORTVERSION}
${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/
@${SED} "/%%JDK_HOME%%/s//${JDK_HOME:S/\//\\\//g}/" < ${PKGMESSAGE}
.include <bsd.port.post.mk>
|