diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-29 19:39:22 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-29 19:39:22 +0800 |
commit | 588817dc4edd46bbc973a0033aff3811450616bd (patch) | |
tree | 9c18c87eb8f893678b140e6ada0c760ebf938278 /java | |
parent | c17a2b21f71549cdd47e3ae65715d8a3b0d5bf74 (diff) | |
download | freebsd-ports-gnome-588817dc4edd46bbc973a0033aff3811450616bd.tar.gz freebsd-ports-gnome-588817dc4edd46bbc973a0033aff3811450616bd.tar.zst freebsd-ports-gnome-588817dc4edd46bbc973a0033aff3811450616bd.zip |
New port: java/linux-blackdown-jre11: Blackdown Linux JRE 1.1.8
Blackdown Linux Java Runtime Environment 1.1.8
It is needed for running Oracle for Linux
PR: ports/56738
Submitted by: Simun Mikecin <sime@logos.hr> <sime@logos.hr>
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/Makefile | 59 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/distinfo | 1 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/files/patch-aa | 26 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/files/patch-ab | 28 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/pkg-descr | 1 | ||||
-rw-r--r-- | java/linux-blackdown-jre11/pkg-plist | 83 |
7 files changed, 199 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index 3400cfa2177c..b50b29534527 100644 --- a/java/Makefile +++ b/java/Makefile @@ -71,6 +71,7 @@ SUBDIR += linux-blackdown-jdk12 SUBDIR += linux-blackdown-jdk13 SUBDIR += linux-blackdown-jdk14 + SUBDIR += linux-blackdown-jre11 SUBDIR += linux-ibm-jdk13 SUBDIR += linux-ibm-jdk14 SUBDIR += linux-sun-jdk12 diff --git a/java/linux-blackdown-jre11/Makefile b/java/linux-blackdown-jre11/Makefile new file mode 100644 index 000000000000..c28be1427d52 --- /dev/null +++ b/java/linux-blackdown-jre11/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: linux jre 1.1.8 +# Date created: 10 Sep 2003 +# Whom: Simun Mikecin <sime@logos.hr> +# +# $FreeBSD$ +# + +PORTNAME= jre +PORTVERSION= ${JRE_VERSION} +CATEGORIES= java devel +MASTER_SITES= ftp://gd.tuwien.ac.at/opsys/linux/java/JDK-${PORTVERSION}/${ARCH}/v3/ \ + ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-${PORTVERSION}/i386/v3/ \ + ftp://ftp.tux.org/pub/java/JDK-${PORTVERSION}/i386/v3/ \ + ftp://ftp.funet.fi/pub/Linux/java/jdk/blackdown.org/JDK-${PORTVERSION}/i386/v3/ \ + ftp://ftp.uk.linux.org/pub/linux/java/JDK-${PORTVERSION}/i386/v3/ +PKGNAMEPREFIX= linux-blackdown- +DISTNAME= jre118_v3-glibc-2.1.3 + +MAINTAINER= sime@logos.hr +COMMENT= Blackdown Linux Java Runtime Environment 1.1.8 + +RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper + +NO_CDROM= "License doesn\'t allow distribution with fee" +NO_PACKAGE= "License doesn\'t allow binary distributions" + +USE_LINUX= YES +ONLY_FOR_ARCHS= i386 + +USE_BZIP2= YES +WRKSRC= ${WRKDIR}/jre118_v3 +JRE_VERSION= 1.1.8 +PLIST_SUB+= JRE_VERSION=${JRE_VERSION} +NO_BUILD= YES +APP_HOME?= ${PREFIX}/linux-blackdown-jre${PORTVERSION} +PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} + +CPIO?= /usr/bin/cpio + +post-patch: + ${FIND} ${WRKSRC} \( -name '*.orig' -o -name '.*.orig' \) -print \ + | xargs ${RM} -f && \ + ${CHMOD} a+r ${WRKSRC}/README.linux + +do-install: + ${MKDIR} ${APP_HOME} + cd ${WRKSRC} && ${FIND} . -print \ + | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${APP_HOME} + cd ${APP_HOME}/bin && \ + ${LN} -sf .java_wrapper java && \ + cd ${APP_HOME}/bin/i386/green_threads && \ + ${LN} -sf jre java && \ + cd ${APP_HOME}/bin/i386/native_threads && \ + ${LN} -sf jre java + +post-install: + ${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Blackdown-JRE${PORTVERSION}" + +.include <bsd.port.mk> diff --git a/java/linux-blackdown-jre11/distinfo b/java/linux-blackdown-jre11/distinfo new file mode 100644 index 000000000000..6dae82a437ab --- /dev/null +++ b/java/linux-blackdown-jre11/distinfo @@ -0,0 +1 @@ +MD5 (jre118_v3-glibc-2.1.3.tar.bz2) = a91b777ac313390e35d390c101d26992 diff --git a/java/linux-blackdown-jre11/files/patch-aa b/java/linux-blackdown-jre11/files/patch-aa new file mode 100644 index 000000000000..95e954306a93 --- /dev/null +++ b/java/linux-blackdown-jre11/files/patch-aa @@ -0,0 +1,26 @@ +--- bin/.java_wrapper.orig Fri Sep 12 19:54:03 2003 ++++ bin/.java_wrapper Fri Sep 12 19:54:43 2003 +@@ -7,19 +7,19 @@ + + # Set up default variable values if not supplied by the user. + +-PRG=`type -p $0` >/dev/null 2>&1 ++PRG=$0 + # If PRG is a symlink, trace it to the real home directory + + while [ -L "$PRG" ] + do +- newprg=`expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` +- expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" ++ newprg=`/compat/linux/usr/bin/expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` ++ /compat/linux/usr/bin/expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" + PRG="$newprg" + done + + J_HOME=`dirname $PRG`/.. + progname=`basename $0` +-ARCH=`arch` ++ARCH=`uname -m` + + # The default THREADS_TYPE is "green_threads". To change the default change + # the setting of the DEFAULT_THREADS_FLAG variable. The only valid values diff --git a/java/linux-blackdown-jre11/files/patch-ab b/java/linux-blackdown-jre11/files/patch-ab new file mode 100644 index 000000000000..c93274cd281e --- /dev/null +++ b/java/linux-blackdown-jre11/files/patch-ab @@ -0,0 +1,28 @@ +--- bin/jre.orig Tue Sep 19 02:08:12 2000 ++++ bin/jre Fri Sep 12 20:00:46 2003 +@@ -6,7 +6,7 @@ + export THREADS_TYPE + + progname=`basename $0` +-ARCH=`arch` ++ARCH=`uname -m` + + case $1 in + -native) +@@ -21,13 +21,13 @@ + + if [ -z "$JAVA_HOME" ] + then +- PRG=`type -p $0` >/dev/null 2>&1 ++ PRG=$0 + # If PRG is a symlink, trace it to the real home directory + + while [ -L "$PRG" ] + do +- newprg=`expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` +- expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" ++ newprg=`/compat/linux/usr/bin/expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` ++ /compat/linux/usr/bin/expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" + PRG="$newprg" + done + diff --git a/java/linux-blackdown-jre11/pkg-descr b/java/linux-blackdown-jre11/pkg-descr new file mode 100644 index 000000000000..81ea053a3cb3 --- /dev/null +++ b/java/linux-blackdown-jre11/pkg-descr @@ -0,0 +1 @@ +Blackdown Linux Java Runtime Environment 1.1.8 diff --git a/java/linux-blackdown-jre11/pkg-plist b/java/linux-blackdown-jre11/pkg-plist new file mode 100644 index 000000000000..6e7e8734eb9c --- /dev/null +++ b/java/linux-blackdown-jre11/pkg-plist @@ -0,0 +1,83 @@ +linux-blackdown-jre%%JRE_VERSION%%/COPYRIGHT +linux-blackdown-jre%%JRE_VERSION%%/LICENSE +linux-blackdown-jre%%JRE_VERSION%%/README +linux-blackdown-jre%%JRE_VERSION%%/README.linux +linux-blackdown-jre%%JRE_VERSION%%/bin/.java_wrapper +linux-blackdown-jre%%JRE_VERSION%%/bin/i386 +linux-blackdown-jre%%JRE_VERSION%%/bin/i486 +linux-blackdown-jre%%JRE_VERSION%%/bin/i586 +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads/.extract_args +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads/java +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads/javakey +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads/jre +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads/rmiregistry +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads/.extract_args +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads/java +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads/javakey +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads/jre +linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads/rmiregistry +linux-blackdown-jre%%JRE_VERSION%%/bin/i786 +linux-blackdown-jre%%JRE_VERSION%%/bin/ia32 +linux-blackdown-jre%%JRE_VERSION%%/bin/ia64 +linux-blackdown-jre%%JRE_VERSION%%/bin/java +linux-blackdown-jre%%JRE_VERSION%%/bin/javakey +linux-blackdown-jre%%JRE_VERSION%%/bin/jre +linux-blackdown-jre%%JRE_VERSION%%/bin/rmiregistry +linux-blackdown-jre%%JRE_VERSION%%/lib/awt.properties +linux-blackdown-jre%%JRE_VERSION%%/lib/content-types.properties +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.ISO8859_15_FDIS +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.cs +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.el +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.hu +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.ja +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.ko +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.lt +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.lv +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.pl +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.ru +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.tr +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.zh_EUC_CN +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.zh_TW_Big5 +linux-blackdown-jre%%JRE_VERSION%%/lib/font.properties.zh_TW_EUC_TW +linux-blackdown-jre%%JRE_VERSION%%/lib/i18n.jar +linux-blackdown-jre%%JRE_VERSION%%/lib/i386 +linux-blackdown-jre%%JRE_VERSION%%/lib/i486 +linux-blackdown-jre%%JRE_VERSION%%/lib/i586 +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libawt.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libjava.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libjpeg_sun.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libmath.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libmmedia.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libnet.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libsysresource.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads/libzip.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libawt.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libjava.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libjpeg_sun.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libmath.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libmmedia.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libnet.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libsysresource.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads/libzip.so +linux-blackdown-jre%%JRE_VERSION%%/lib/i786 +linux-blackdown-jre%%JRE_VERSION%%/lib/ia32 +linux-blackdown-jre%%JRE_VERSION%%/lib/ia64 +linux-blackdown-jre%%JRE_VERSION%%/lib/psfont.properties.ja +linux-blackdown-jre%%JRE_VERSION%%/lib/rt.jar +linux-blackdown-jre%%JRE_VERSION%%/lib/security/java.security +linux-blackdown-jre%%JRE_VERSION%%/lib/serialver.properties +@exec mkdir -p %D/share/doc/java +@unexec rmdir %D/share/doc/java 2>/dev/null || true +@exec %D/bin/registervm "%D/linux-blackdown-jre%%JRE_VERSION%%/bin/java # Linux-Blackdown-JRE%%JRE_VERSION%%" +@unexec %D/bin/unregistervm Linux-Blackdown-JRE%%JRE_VERSION%% +@dirrm linux-blackdown-jre%%JRE_VERSION%%/lib/security +@dirrm linux-blackdown-jre%%JRE_VERSION%%/lib/i686/native_threads +@dirrm linux-blackdown-jre%%JRE_VERSION%%/lib/i686/green_threads +@dirrm linux-blackdown-jre%%JRE_VERSION%%/lib/i686 +@dirrm linux-blackdown-jre%%JRE_VERSION%%/lib +@dirrm linux-blackdown-jre%%JRE_VERSION%%/bin/i686/native_threads +@dirrm linux-blackdown-jre%%JRE_VERSION%%/bin/i686/green_threads +@dirrm linux-blackdown-jre%%JRE_VERSION%%/bin/i686 +@dirrm linux-blackdown-jre%%JRE_VERSION%%/bin +@dirrm linux-blackdown-jre%%JRE_VERSION%% |