aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk12
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-10-06 17:09:27 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-10-06 17:09:27 +0000
commitfa3b135cb8d53059374c35859c9b5a40368df39f (patch)
treea127d75b50bce771efa65dd1c0e2910f1311e174 /java/linux-sun-jdk12
parent7403c2c9a41cfdca1b431dec36fa6f323dcaf45d (diff)
downloadports-fa3b135cb8d53059374c35859c9b5a40368df39f.tar.gz
ports-fa3b135cb8d53059374c35859c9b5a40368df39f.zip
Notes
Diffstat (limited to 'java/linux-sun-jdk12')
-rw-r--r--java/linux-sun-jdk12/Makefile7
-rw-r--r--java/linux-sun-jdk12/distinfo2
-rw-r--r--java/linux-sun-jdk12/pkg-plist3
3 files changed, 7 insertions, 5 deletions
diff --git a/java/linux-sun-jdk12/Makefile b/java/linux-sun-jdk12/Makefile
index fafa6b45af3f..634c198be573 100644
--- a/java/linux-sun-jdk12/Makefile
+++ b/java/linux-sun-jdk12/Makefile
@@ -24,14 +24,15 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
NO_BUILD= yes
USE_LINUX= yes
-JDK_VERSION= 1.2.2.015
+JDK_VERSION= 1.2.2.017
ONLY_FOR_ARCHS= i386
NO_CDROM= "License does not allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
-DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-i586
+SUN_BUNDLE_ID?= 9153
+DOWNLOAD_URL?= http://java.sun.com/webapps/download/Display?BundleId=${SUN_BUNDLE_ID}
.include <bsd.port.pre.mk>
@@ -53,7 +54,7 @@ do-install:
@${ECHO_CMD} " [ DONE ]"
@${ECHO_CMD} -n ">> Registering with javavm..."
- @${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Sun-JDK${PORTVERSION}_${PORTREVISION}"
+ @${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}_${PORTREVISION}"
@${ECHO_CMD} " [ DONE ]"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk12/distinfo b/java/linux-sun-jdk12/distinfo
index 066e42534f25..499c268cef7f 100644
--- a/java/linux-sun-jdk12/distinfo
+++ b/java/linux-sun-jdk12/distinfo
@@ -1 +1 @@
-MD5 (jdk-1_2_2_015-linux-i586.tar.gz) = e321a6fe2267fee665f6bf7c1122f4f5
+MD5 (jdk-1_2_2_017-linux-i586.tar.gz) = 31b43e0da46d0d7f2b04d2d78f21a8cc
diff --git a/java/linux-sun-jdk12/pkg-plist b/java/linux-sun-jdk12/pkg-plist
index 5c6989d3cad6..79487d3adff9 100644
--- a/java/linux-sun-jdk12/pkg-plist
+++ b/java/linux-sun-jdk12/pkg-plist
@@ -1,4 +1,5 @@
-@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
+@exec %D/bin/registervm "%D/%%T%%/bin/java # Linux-JDK%%JDK_VERSION%%"
+@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"
%%T%%/CHANGES
%%T%%/COPYRIGHT
%%T%%/LICENSE