diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-29 11:39:22 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-29 11:39:22 +0000 |
commit | 6450de95965a45b97219202c0a590da46cbcfc68 (patch) | |
tree | a9e3a7e77ffb817bad9ef6e68a9ac7e376287bff /java/linux-blackdown-jre11 | |
parent | 7ceec35292d5e83807b4a7ed0a99fbebfd689b4b (diff) | |
download | ports-6450de95965a45b97219202c0a590da46cbcfc68.tar.gz ports-6450de95965a45b97219202c0a590da46cbcfc68.zip |
Notes
Diffstat (limited to 'java/linux-blackdown-jre11')
-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 |
6 files changed, 198 insertions, 0 deletions
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%% |