2000-01-15 03:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2000/01/15 02:08:04 jwise Exp $
|
1999-12-10 04:55:22 +01:00
|
|
|
#
|
1998-06-23 18:42:24 +02:00
|
|
|
|
2000-01-11 13:35:07 +01:00
|
|
|
VERSION=1.1.8
|
|
|
|
DISTNAME= jdk${VERSION}-rc1
|
1999-12-10 04:55:22 +01:00
|
|
|
PKGNAME= jdk-${VERSION}
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/java/i386/${VERSION}/ \
|
|
|
|
ftp://ftp.de.netbsd.org/pub/NetBSD/misc/java/i386/${VERSION}/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1998-06-23 18:42:24 +02:00
|
|
|
|
1999-12-10 04:55:22 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.quick.com.au/java/
|
1998-06-23 18:42:24 +02:00
|
|
|
|
1999-12-10 04:55:22 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !defined(JDK_HOME)
|
|
|
|
JDK_HOME:= ${LOCALBASE}/java
|
|
|
|
.endif
|
1998-06-23 18:42:24 +02:00
|
|
|
|
1999-12-10 04:55:22 +01:00
|
|
|
WRKSRC= ${WRKDIR}/jdk${VERSION}
|
|
|
|
NO_BUILD= yes
|
2000-01-13 21:13:38 +01:00
|
|
|
# since we change PREFIX:
|
|
|
|
NO_MTREE= yes
|
1999-12-10 04:55:22 +01:00
|
|
|
MESSAGE_FILE= ${WRKDIR}/.MESSAGE
|
1998-06-23 18:42:24 +02:00
|
|
|
|
1999-12-10 04:55:22 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
|
|
|
RESTRICTED= "No redistribution of the Java(tm) Development Kit"
|
|
|
|
NO_CDROM= ${RESTRICTED}
|
1998-06-23 18:42:24 +02:00
|
|
|
|
|
|
|
do-install:
|
1999-12-10 04:55:22 +01:00
|
|
|
${MKDIR} ${JDK_HOME}
|
|
|
|
cd ${WRKSRC} ; ${GTAR} pcf - . | ( cd ${JDK_HOME} ; ${GTAR} pvxf - )
|
|
|
|
${SED} \
|
|
|
|
-e 's|@JDK_HOME@|${JDK_HOME}|g' \
|
|
|
|
<${PKGDIR}/MESSAGE >${MESSAGE_FILE}
|
|
|
|
|
2000-01-13 21:13:38 +01:00
|
|
|
show-shlib-type:
|
|
|
|
echo a.out
|
|
|
|
|
2000-01-15 03:08:03 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
1999-12-10 04:55:22 +01:00
|
|
|
# This needs to be after bsd.pkg.mk
|
|
|
|
PREFIX:= ${JDK_HOME}
|