aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk13
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-09-09 16:35:30 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-09-09 16:35:30 +0000
commit3cf2b28efa54532f00347c502023651041b2c2b5 (patch)
tree7f3a3d01ba57bfd9818ffd78ca10ca5901c0471b /java/linux-sun-jdk13
parent1620f1dc30628db4141e915de7299f7e968b7a86 (diff)
downloadports-3cf2b28efa54532f00347c502023651041b2c2b5.tar.gz
ports-3cf2b28efa54532f00347c502023651041b2c2b5.zip
Notes
Diffstat (limited to 'java/linux-sun-jdk13')
-rw-r--r--java/linux-sun-jdk13/Makefile20
-rw-r--r--java/linux-sun-jdk13/distinfo2
-rw-r--r--java/linux-sun-jdk13/pkg-plist2
3 files changed, 13 insertions, 11 deletions
diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile
index 5d4226e664ad..e75c669266c3 100644
--- a/java/linux-sun-jdk13/Makefile
+++ b/java/linux-sun-jdk13/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= jdk
-PORTVERSION= ${JDK_VERSION}
+PORTVERSION= ${JDK_VERSION}.${JDK_REVISION}
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-
-DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-linux-${ARCH}
+DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}_${JDK_REVISION}-linux-${ARCH}
EXTRACT_SUFX= .bin
MAINTAINER= kevlo@FreeBSD.org
@@ -29,12 +29,13 @@ EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
-WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}${JDK_VERSION}_${JDK_REVISION}
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
NO_BUILD= yes
USE_LINUX= yes
JDK_VERSION= 1.3.1
+JDK_REVISION= 01
ONLY_FOR_ARCHS= i386
TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION}
DOWNLOAD_URL?= http://java.sun.com/j2se/1.3/download-linux.html
@@ -42,18 +43,21 @@ DOWNLOAD_URL?= http://java.sun.com/j2se/1.3/download-linux.html
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
+IGNORE= You must manually fetch the Java 2 Development Kit ${JDK_VERSION} \
+ for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, \
+ choose the "GUNZIP Tar shell script" one and place it in ${DISTDIR} \
+ and then run make again
.endif
post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}
post-patch:
- find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
+ @find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
do-install:
- ${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
- ${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
- ${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
+ @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION}
+ @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} -xpf-
+ @${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${PORTVERSION}/bin/java # Linux-JDK${PORTVERSION}"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk13/distinfo b/java/linux-sun-jdk13/distinfo
index c107e860e2b9..a45e84f496ee 100644
--- a/java/linux-sun-jdk13/distinfo
+++ b/java/linux-sun-jdk13/distinfo
@@ -1 +1 @@
-MD5 (j2sdk-1_3_1-linux-i386.bin) = c76ea483213796e2a12109dff6b73e3a
+MD5 (j2sdk-1_3_1_01-linux-i386.bin) = b6fd1d4a267045841239b9c3ca4a7dbf
diff --git a/java/linux-sun-jdk13/pkg-plist b/java/linux-sun-jdk13/pkg-plist
index 0cb02251aa8d..5db6cb233585 100644
--- a/java/linux-sun-jdk13/pkg-plist
+++ b/java/linux-sun-jdk13/pkg-plist
@@ -126,7 +126,6 @@
%%T%%/jre/CHANGES
%%T%%/jre/COPYRIGHT
%%T%%/jre/LICENSE
-%%T%%/jre/LICENSE.fr
%%T%%/jre/Welcome.html
%%T%%/jre/README
%%T%%/jre/plugin/i386/ns600/libjavaplugin_oji.so
@@ -761,7 +760,6 @@
%%T%%/COPYRIGHT
%%T%%/README.html
%%T%%/LICENSE
-%%T%%/LICENSE.fr
%%T%%/README
%%T%%/man/man1/appletviewer.1
%%T%%/man/man1/extcheck.1