Improved download URL.

Prompted by:	obrien

Also now unregistering with javavm at deinstallation.
This commit is contained in:
Ernst de Haan 2002-05-28 09:28:11 +00:00
parent 79dd3ec0b0
commit 5427f343f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60178
4 changed files with 4 additions and 2 deletions

View file

@ -38,7 +38,7 @@ DL_JDK_VERSION= 1.4.0
INSTALL_JDK_VERSION= 1.4.0
ONLY_FOR_ARCHS= i386
TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION}
DOWNLOAD_URL?= http://java.sun.com/j2se/1.4/
DOWNLOAD_URL?= http://java.sun.com/Download6?url=/Download6&config-file=j2sdk-1_4_0.config&platform=linux-i386
PORTTITLE= Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
.include <bsd.port.pre.mk>

View file

@ -1,3 +1,4 @@
@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
%%T%%/jre/bin/java
%%T%%/jre/bin/keytool
%%T%%/jre/bin/policytool

View file

@ -38,7 +38,7 @@ DL_JDK_VERSION= 1.4.0
INSTALL_JDK_VERSION= 1.4.0
ONLY_FOR_ARCHS= i386
TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION}
DOWNLOAD_URL?= http://java.sun.com/j2se/1.4/
DOWNLOAD_URL?= http://java.sun.com/Download6?url=/Download6&config-file=j2sdk-1_4_0.config&platform=linux-i386
PORTTITLE= Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
.include <bsd.port.pre.mk>

View file

@ -1,3 +1,4 @@
@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
%%T%%/jre/bin/java
%%T%%/jre/bin/keytool
%%T%%/jre/bin/policytool