summaryrefslogtreecommitdiff
path: root/lang/jdk/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-07-27 21:32:48 +0000
committerjschauma <jschauma@pkgsrc.org>2002-07-27 21:32:48 +0000
commit95e5641aa6b75148382fe214107784994cdd6c83 (patch)
tree9ddbae79ebf1b9e3e2e8fca7b3ce7fcd6ab2a099 /lang/jdk/Makefile
parent55ff76d7449edf62eced43a5d4c78a848546da89 (diff)
downloadpkgsrc-95e5641aa6b75148382fe214107784994cdd6c83.tar.gz
We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change II of many. Thus, install this jdk in ${PREFIX}/java/jdk-1.1.8, remove CONFLICTS with other JDKs/JREs and bump PKGREVISION.
Diffstat (limited to 'lang/jdk/Makefile')
-rw-r--r--lang/jdk/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/lang/jdk/Makefile b/lang/jdk/Makefile
index bb6c168667e..6e414fc42c0 100644
--- a/lang/jdk/Makefile
+++ b/lang/jdk/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.27 2002/03/01 01:58:35 abs Exp $
+# $NetBSD: Makefile,v 1.28 2002/07/27 21:32:48 jschauma Exp $
#
VERSION= 1.1.8
PKGNAME= jdk-${VERSION}
+PKGREVISION= 1
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}/
@@ -12,15 +13,11 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://www.quick.com.au/java/
COMMENT= Sun's Java(tm) Development Kit
-CONFLICTS= blackdown-j* sun-j*
-
LICENSE= jdk-license
.include "../../mk/bsd.prefs.mk"
-.if !defined(JDK_HOME)
-JDK_HOME:= ${LOCALBASE}/java
-.endif
+JDK_HOME:= ${LOCALBASE}/java/${PKGNAME}
MESSAGE_SUBST+= JDK_HOME=${JDK_HOME}
.if ${OBJECT_FMT} == "ELF"
@@ -66,8 +63,8 @@ pre-install:
do-install:
${RM} -f ${WRKSRC}/*.orig
- ${MKDIR} ${JDK_HOME}
- cd ${WRKSRC} ; ${GTAR} pcf - . | ( cd ${JDK_HOME} ; ${GTAR} pvxf - )
+ ${INSTALL_PROGRAM_DIR} ${JDK_HOME}
+ cd ${WRKSRC} && ${PAX} -rw . ${JDK_HOME}
.include "../../mk/bsd.pkg.mk"