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