summaryrefslogtreecommitdiff
path: root/java/jdk/Makefile
blob: fdf5d2f285d04a77a9a4a7da20eb97e57a339170 (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
# Version required:     1.1.8
# Date created:		Feb, 8, 1998
# Whom:			Nate Williams <nate@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	jdk-${JDK_VERSION}
CATEGORIES=	java devel
MASTER_SITES=	ftp://ftp.sc.sri.com/pub/FreeBSD/JDK/ \
		http://www.freebsd.org/java/

MAINTAINER=	nate@freebsd.org

NO_CDROM=	"License doesn't allow distribution with fee"

ONLY_FOR_ARCHS=	i386
JDK_VERSION=	1.1.8
PLIST_SUB+=	JDK_VERSION=${JDK_VERSION}

WRKSRC=		${WRKDIR}/jdk${JDK_VERSION}
NO_BUILD=       yes

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "aout"
DISTFILES=	jdk${JDK_VERSION}_AOUT.V99-9-22.tar.gz
.else
DISTFILES=	jdk${JDK_VERSION}_ELF.V99-9-22.tar.gz
.endif

do-install:
	${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
	(cd ${WRKSRC} && tar -c -f - .) \
		| (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)

.include <bsd.port.post.mk>