1996-04-08 20:49:13 +00:00
|
|
|
# New ports collection makefile for: jdk
|
1999-06-08 16:15:38 +00:00
|
|
|
# Version required: 1.1.8
|
1998-02-11 08:59:00 +00:00
|
|
|
# Date created: Feb, 8, 1998
|
1999-03-26 21:05:31 +00:00
|
|
|
# Whom: Nate Williams <nate@FreeBSD.org>
|
1996-04-08 20:49:13 +00:00
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1996-04-08 20:49:13 +00:00
|
|
|
#
|
|
|
|
|
1999-06-08 21:57:50 +00:00
|
|
|
DISTNAME= jdk-${JDK_VERSION}
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= java devel
|
1999-03-26 21:05:31 +00:00
|
|
|
#MASTER_SITES= ftp://ftp.nuxi.com/pub/FreeBSD/JDK/ \
|
|
|
|
MASTER_SITES= http://www.freebsd.org/java/
|
1996-04-08 20:49:13 +00:00
|
|
|
|
1998-11-14 17:35:36 +00:00
|
|
|
MAINTAINER= nate@freebsd.org
|
1996-04-08 20:49:13 +00:00
|
|
|
|
1998-02-11 08:59:00 +00:00
|
|
|
NO_CDROM= "License doesn't allow distribution with fee"
|
1997-05-30 14:16:32 +00:00
|
|
|
|
1999-09-17 18:19:30 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
1999-06-08 21:57:50 +00:00
|
|
|
JDK_VERSION= 1.1.8
|
|
|
|
PLIST_SUB+= JDK_VERSION=${JDK_VERSION}
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/jdk${JDK_VERSION}
|
1998-02-11 08:59:00 +00:00
|
|
|
NO_BUILD= yes
|
1996-04-08 20:49:13 +00:00
|
|
|
|
1999-03-26 21:05:31 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
1999-07-20 23:46:59 +00:00
|
|
|
DISTFILES= jdk${JDK_VERSION}_AOUT.V99-7-19.tar.gz
|
1999-03-26 21:05:31 +00:00
|
|
|
.else
|
1999-07-20 23:46:59 +00:00
|
|
|
DISTFILES= jdk${JDK_VERSION}_ELF.V99-7-19.tar.gz
|
1999-03-26 21:05:31 +00:00
|
|
|
.endif
|
|
|
|
|
1998-02-11 08:59:00 +00:00
|
|
|
do-install:
|
1999-06-08 21:57:50 +00:00
|
|
|
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
|
1998-11-16 06:28:41 +00:00
|
|
|
(cd ${WRKSRC} && tar -c -f - .) \
|
1999-06-08 21:57:50 +00:00
|
|
|
| (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)
|
1996-04-08 20:49:13 +00:00
|
|
|
|
1999-03-26 21:05:31 +00:00
|
|
|
.include <bsd.port.post.mk>
|