summaryrefslogtreecommitdiff
path: root/lang/sun-jdk13
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-13 07:45:30 +0000
committerjlam <jlam@pkgsrc.org>2002-10-13 07:45:30 +0000
commitff8f3671977f8aac3e45fbda39a672d1d1e203a5 (patch)
treedf8d82ebcf7bc3eff4ed0f54bd3a91672f301a8a /lang/sun-jdk13
parent15f20a7cb6d20517e934d9dbc0d04a9553b1e053 (diff)
downloadpkgsrc-ff8f3671977f8aac3e45fbda39a672d1d1e203a5.tar.gz
* Use buildlink2.
* Minor improvements to the package Makefiles. * Correct the PLIST.
Diffstat (limited to 'lang/sun-jdk13')
-rw-r--r--lang/sun-jdk13/Makefile12
-rw-r--r--lang/sun-jdk13/distinfo3
-rw-r--r--lang/sun-jdk13/patches/patch-aa22
3 files changed, 7 insertions, 30 deletions
diff --git a/lang/sun-jdk13/Makefile b/lang/sun-jdk13/Makefile
index 086e35e2324..8b652741e29 100644
--- a/lang/sun-jdk13/Makefile
+++ b/lang/sun-jdk13/Makefile
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.15 2002/07/27 22:01:33 jschauma Exp $
+# $NetBSD: Makefile,v 1.16 2002/10/13 07:45:30 jlam Exp $
# MASTER_SITES is very special, and must end in "=":
DISTNAME= j2sdk-1_3_1_02-linux-i386
PKGNAME= sun-jdk13-1.0.2
PKGREVISION= 1
+WRKSRC= ${WRKDIR}/jdk1.3.1_02
MASTER_SITES= http://java.sun.com/Download4?config-file=j2sdk-1_3_1_02.config&platform=linux-i386&protocol=HTTP+download&download-name=
COMMENT= Sun's Java(tm) Development Kit 1.3.1
DEPENDS= sun-jre13>=1:../../lang/sun-jre13
-WRKSRC= ${WRKDIR}/jdk1.3.1_02
-
-# these are part of JRE
-do-configure:
- @${RM} -fr ${WRKSRC}/jre ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/bin/.java_wrapper
+# these are part of the JRE
+post-extract:
+ ${RM} -fr ${WRKSRC}/jre
+ ${RM} -f ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/bin/.java_wrapper
.include "../../lang/sun-jre13/Makefile.common"
diff --git a/lang/sun-jdk13/distinfo b/lang/sun-jdk13/distinfo
index 890517cd215..652c3bcead0 100644
--- a/lang/sun-jdk13/distinfo
+++ b/lang/sun-jdk13/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/03/19 16:33:58 tron Exp $
+$NetBSD: distinfo,v 1.6 2002/10/13 07:45:31 jlam Exp $
SHA1 (j2sdk-1_3_1_02-linux-i386.bin) = ebeee5f0f32faf14bdc6beacac54c851b309c7ba
Size (j2sdk-1_3_1_02-linux-i386.bin) = 26311391 bytes
-SHA1 (patch-aa) = 69de53e20bab7edaeb84dfc94b67a85d07cdcc99
diff --git a/lang/sun-jdk13/patches/patch-aa b/lang/sun-jdk13/patches/patch-aa
deleted file mode 100644
index 06b349103d9..00000000000
--- a/lang/sun-jdk13/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2001/06/12 16:31:46 skrll Exp $
-
---- bin/.java_wrapper.orig Tue Jun 12 16:44:23 2001
-+++ bin/.java_wrapper Tue Jun 12 16:44:48 2001
-@@ -31,17 +31,6 @@
- ;;
- esac
-
--# Resolve symlinks. See 4152645.
--while [ -L "$PRG" ]; do
-- ls=`ls -ld "$PRG"`
-- link=`expr "$ls" : '.*-> \(.*\)$'`
-- if expr "$link" : '/' > /dev/null; then
-- PRG="$link"
-- else
-- PRG="`dirname $PRG`/$link"
-- fi
--done
--
- APPHOME=`dirname "$PRG"`/..
- JREHOME=$APPHOME/jre
-