summaryrefslogtreecommitdiffstats
path: root/java/linux-jdk/Makefile
blob: 9e5041980d7a85b0fa5b058a78d5f2bd26daeeb3 (plain)
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:	linux jdk 1.2.2
# Date created:		Nov 3 1999
# Whom:			Jose Marques
#
# $FreeBSD$
#

PORTNAME=	jdk
PORTVERSION=	1.2.2
CATEGORIES=	java devel
MASTER_SITES=	ftp://ftp.tux.org/pub/java/JDK-1.2.2/i386/rc4/ \
		http://www.metaverse.nl/~ernst/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	znerd
PKGNAMEPREFIX=	linux-
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC4-linux-i386-glibc-2.1.2

MAINTAINER=	znerd@FreeBSD.org

RUN_DEPENDS=	/compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base \
		javavm:${PORTSDIR}/java/javavmwrapper

NO_CDROM=	"License doesn\'t allow distribution with fee"
NO_PACKAGE=	"License doesn\'t allow binary distributions"

ONLY_FOR_ARCHS=	i386

USE_BZIP2=	YES
WRKSRC=		${WRKDIR}/jdk1.2.2
NO_BUILD=	yes

do-install:
	${MKDIR} ${PREFIX}/linux-jdk1.2.2
	(cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
		| (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
	${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk1.2.2/bin/java # Linux-JDK1.2.2"

.include <bsd.port.mk>
OpenPOWER on IntegriCloud