Initial import of Linux JDK 1.3

This port is Sun's Java Development Kit 1.3.0 for Linux
This commit is contained in:
Kevin Lo 2000-12-07 03:29:32 +00:00
parent 918a29027c
commit 2480bc8a31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35735
15 changed files with 2517 additions and 0 deletions

View file

@ -25,6 +25,7 @@
SUBDIR += junit SUBDIR += junit
SUBDIR += kaffe SUBDIR += kaffe
SUBDIR += linux-jdk SUBDIR += linux-jdk
SUBDIR += linux-jdk13
SUBDIR += netrexx SUBDIR += netrexx
SUBDIR += openjit SUBDIR += openjit
SUBDIR += perltools SUBDIR += perltools

52
java/linux-jdk13/Makefile Normal file
View file

@ -0,0 +1,52 @@
# New ports collection makefile for: linux jdk 1.3.0
# Date created: 06 December 2000
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-
DISTFILES= j2sdk-1_3_0-linux.bin
MAINTAINER= kevlo@FreeBSD.org
RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
JDK_VERSION= 1.3.0
NO_CDROM= "License doesn\'t allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif
ONLY_FOR_ARCHS= i386
EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= #empty
WRKSRC= ${WRKDIR}/jdk1.3
NO_BUILD= yes
.include <bsd.port.pre.mk>
.for file in ${DISTFILES}
.if !exists(${DISTDIR}/${file})
IGNORE=You must manually fetch the Java SDK 1.3.0 for Linux archive (j2sdk-1_3_0-linux.bin) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again.
.endif
.endfor
post-patch:
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-
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
MD5 (j2sdk-1_3_0-linux.bin) = 19e3d34c1ba70ac6a559df1772ca803c

View file

@ -0,0 +1,13 @@
--- bin/.java_wrapper.orig Tue Dec 5 15:01:50 2000
+++ bin/.java_wrapper Tue Dec 5 15:02:20 2000
@@ -31,8 +31,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`/bin/ls -ld "$PRG"`
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
- if /usr/bin/expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`/usr/bin/dirname $PRG`/$link"

View file

@ -0,0 +1,13 @@
--- jre/bin/.java_wrapper.orig Tue Dec 5 15:25:11 2000
+++ jre/bin/.java_wrapper Tue Dec 5 15:25:29 2000
@@ -31,8 +31,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`/bin/ls -ld "$PRG"`
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
- if /usr/bin/expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`/usr/bin/dirname $PRG`/$link"

View file

@ -0,0 +1 @@
Sun's Java Developers Kit

View file

@ -0,0 +1,3 @@
Linux port of the Sun Java Development Kit 1.3.0
WWW: http://java.sun.com/j2se/1.3/

1175
java/linux-jdk13/pkg-plist Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,52 @@
# New ports collection makefile for: linux jdk 1.3.0
# Date created: 06 December 2000
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-
DISTFILES= j2sdk-1_3_0-linux.bin
MAINTAINER= kevlo@FreeBSD.org
RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
JDK_VERSION= 1.3.0
NO_CDROM= "License doesn\'t allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif
ONLY_FOR_ARCHS= i386
EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= #empty
WRKSRC= ${WRKDIR}/jdk1.3
NO_BUILD= yes
.include <bsd.port.pre.mk>
.for file in ${DISTFILES}
.if !exists(${DISTDIR}/${file})
IGNORE=You must manually fetch the Java SDK 1.3.0 for Linux archive (j2sdk-1_3_0-linux.bin) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again.
.endif
.endfor
post-patch:
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-
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
MD5 (j2sdk-1_3_0-linux.bin) = 19e3d34c1ba70ac6a559df1772ca803c

View file

@ -0,0 +1,13 @@
--- bin/.java_wrapper.orig Tue Dec 5 15:01:50 2000
+++ bin/.java_wrapper Tue Dec 5 15:02:20 2000
@@ -31,8 +31,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`/bin/ls -ld "$PRG"`
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
- if /usr/bin/expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`/usr/bin/dirname $PRG`/$link"

View file

@ -0,0 +1,13 @@
--- jre/bin/.java_wrapper.orig Tue Dec 5 15:25:11 2000
+++ jre/bin/.java_wrapper Tue Dec 5 15:25:29 2000
@@ -31,8 +31,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`/bin/ls -ld "$PRG"`
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
- if /usr/bin/expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`/usr/bin/dirname $PRG`/$link"

View file

@ -0,0 +1 @@
Sun's Java Developers Kit

View file

@ -0,0 +1,3 @@
Linux port of the Sun Java Development Kit 1.3.0
WWW: http://java.sun.com/j2se/1.3/

File diff suppressed because it is too large Load diff