mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
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
|
@ -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
52
java/linux-jdk13/Makefile
Normal 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>
|
1
java/linux-jdk13/distinfo
Normal file
1
java/linux-jdk13/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (j2sdk-1_3_0-linux.bin) = 19e3d34c1ba70ac6a559df1772ca803c
|
13
java/linux-jdk13/files/patch-aa
Normal file
13
java/linux-jdk13/files/patch-aa
Normal 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"
|
13
java/linux-jdk13/files/patch-ab
Normal file
13
java/linux-jdk13/files/patch-ab
Normal 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"
|
1
java/linux-jdk13/pkg-comment
Normal file
1
java/linux-jdk13/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Sun's Java Developers Kit
|
3
java/linux-jdk13/pkg-descr
Normal file
3
java/linux-jdk13/pkg-descr
Normal 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
1175
java/linux-jdk13/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
52
java/linux-sun-jdk13/Makefile
Normal file
52
java/linux-sun-jdk13/Makefile
Normal 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>
|
1
java/linux-sun-jdk13/distinfo
Normal file
1
java/linux-sun-jdk13/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (j2sdk-1_3_0-linux.bin) = 19e3d34c1ba70ac6a559df1772ca803c
|
13
java/linux-sun-jdk13/files/patch-aa
Normal file
13
java/linux-sun-jdk13/files/patch-aa
Normal 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"
|
13
java/linux-sun-jdk13/files/patch-ab
Normal file
13
java/linux-sun-jdk13/files/patch-ab
Normal 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"
|
1
java/linux-sun-jdk13/pkg-comment
Normal file
1
java/linux-sun-jdk13/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Sun's Java Developers Kit
|
3
java/linux-sun-jdk13/pkg-descr
Normal file
3
java/linux-sun-jdk13/pkg-descr
Normal 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-sun-jdk13/pkg-plist
Normal file
1175
java/linux-sun-jdk13/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue