2000-05-16 01:46:26 +00:00
|
|
|
# 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
|
2002-04-15 21:18:18 +00:00
|
|
|
PORTREVISION= 2
|
2000-05-16 01:46:26 +00:00
|
|
|
CATEGORIES= java devel
|
2002-03-02 16:51:11 +00:00
|
|
|
MASTER_SITES= ftp://ftp.tux.org/pub/java/JDK-${PORTVERSION}/${ARCH}/FCS/ \
|
2002-02-21 18:24:56 +00:00
|
|
|
http://www.metaverse.nl/~ernst/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= znerd
|
2000-05-16 01:46:26 +00:00
|
|
|
PKGNAMEPREFIX= linux-
|
2002-03-02 16:51:11 +00:00
|
|
|
DISTNAME= j2sdk-${PORTVERSION}-FCS-linux-${ARCH}-glibc-2.1.3
|
2000-05-16 01:46:26 +00:00
|
|
|
|
2001-11-27 12:29:25 +00:00
|
|
|
MAINTAINER= znerd@FreeBSD.org
|
2000-05-16 01:46:26 +00:00
|
|
|
|
2002-03-02 16:51:11 +00:00
|
|
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
2000-05-16 01:46:26 +00:00
|
|
|
|
2000-07-15 13:49:46 +00:00
|
|
|
NO_CDROM= "License doesn\'t allow distribution with fee"
|
|
|
|
NO_PACKAGE= "License doesn\'t allow binary distributions"
|
2000-05-16 01:46:26 +00:00
|
|
|
|
2002-02-21 18:31:18 +00:00
|
|
|
USE_LINUX= YES
|
2000-05-16 01:46:26 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
USE_BZIP2= YES
|
2002-03-02 16:51:11 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
|
2002-02-21 18:31:18 +00:00
|
|
|
NO_BUILD= YES
|
2002-03-02 16:51:11 +00:00
|
|
|
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
|
|
|
|
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
|
2000-05-16 01:46:26 +00:00
|
|
|
|
|
|
|
do-install:
|
2002-03-02 16:51:11 +00:00
|
|
|
${MKDIR} ${APP_HOME}
|
2000-12-15 08:01:52 +00:00
|
|
|
(cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
|
2002-03-02 16:51:11 +00:00
|
|
|
| (cd ${APP_HOME} && tar fx -)
|
|
|
|
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-JDK${PORTVERSION}"
|
2000-05-16 01:46:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|