aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk14/Makefile
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2003-09-04 17:19:03 +0800
committerznerd <znerd@FreeBSD.org>2003-09-04 17:19:03 +0800
commite273a47e76ac37608ce4d781231ee21b3cc8991b (patch)
tree1ce7cf6251da4d9b38f5b0fd9547b4cea858a8ee /java/linux-sun-jdk14/Makefile
parent017dc63088386edb66e80a748b916388dac83738 (diff)
downloadfreebsd-ports-gnome-e273a47e76ac37608ce4d781231ee21b3cc8991b.tar.gz
freebsd-ports-gnome-e273a47e76ac37608ce4d781231ee21b3cc8991b.tar.zst
freebsd-ports-gnome-e273a47e76ac37608ce4d781231ee21b3cc8991b.zip
Update to 1.4.2_01.
Diffstat (limited to 'java/linux-sun-jdk14/Makefile')
-rw-r--r--java/linux-sun-jdk14/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index d038a8d6c425..119c076bc64f 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -28,12 +28,13 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
NO_BUILD= yes
USE_LINUX= yes
-DL_JDK_VERSION= 1.4.2
-INSTALL_JDK_VERSION= 1.4.2
+DL_JDK_VERSION= 1.4.2_01
+INSTALL_JDK_VERSION= ${DL_JDK_VERSION:S/_/./g}-linux-i586
ONLY_FOR_ARCHS= i386
-DOWNLOAD_URL?= http://java.sun.com/webapps/download/Display?BundleId=8590&Referer=http://java.sun.com/j2se/1.4.2/download.html
-PORTTITLE= Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
-APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${INSTALL_JDK_VERSION}
+SUN_BUNDLE_ID= 8948
+DOWNLOAD_URL?= http://java.sun.com/webapps/download/Display?BundleId=${SUN_BUNDLE_ID}&Referer=http://java.sun.com/j2se/1.4.2/download.html
+PORTTITLE= Java 2 Development Kit ${DL_JDK_VERSION} for Linux
+APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${DL_JDK_VERSION}
CPIO?= /usr/bin/cpio
PACKED_JARS= lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar jre/javaws/javaws.jar
UNPACK_CMD= ${APP_HOME}/lib/unpack
@@ -50,7 +51,7 @@ pre-everything::
do-extract:
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} \
- && ${TAIL} -n 135464 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/install.sfx \
+ && ${TAIL} -n 135743 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/install.sfx \
&& ${CHMOD} +x ${WRKDIR}/install.sfx \
&& ${WRKDIR}/install.sfx > /dev/null