pkgsrc/lang/jdk/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

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