diff options
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 13 | ||||
-rw-r--r-- | java/linux-sun-jdk14/distinfo | 2 |
2 files changed, 8 insertions, 7 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 diff --git a/java/linux-sun-jdk14/distinfo b/java/linux-sun-jdk14/distinfo index ef9fa34bb31a..7b73c72acefc 100644 --- a/java/linux-sun-jdk14/distinfo +++ b/java/linux-sun-jdk14/distinfo @@ -1 +1 @@ -MD5 (j2sdk-1_4_2-linux-i586.bin) = 9697495d4145b8e05ea888e03d03a3b6 +MD5 (j2sdk-1_4_2_01-linux-i586.bin) = 07dbf14a3098b4e38cac57ad520ff474 |