summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2000-10-16 17:53:21 +0000
committertv <tv@pkgsrc.org>2000-10-16 17:53:21 +0000
commit3ae6051993ad7730adef759828ff179e40124ebf (patch)
treed6b6fdef7a9bd9a11e922354f68c17ea0be1bf07 /lang
parent6adedb4ed1db19196fafd1b21b781c5e37229ab7 (diff)
downloadpkgsrc-3ae6051993ad7730adef759828ff179e40124ebf.tar.gz
Package for the Blackdown.org Linux/i386 JRE 1.2.2.
Diffstat (limited to 'lang')
-rw-r--r--lang/blackdown-jre12/Makefile48
-rw-r--r--lang/blackdown-jre12/files/md53
-rw-r--r--lang/blackdown-jre12/files/patch-sum3
-rw-r--r--lang/blackdown-jre12/patches/patch-aa31
-rw-r--r--lang/blackdown-jre12/pkg/COMMENT1
-rw-r--r--lang/blackdown-jre12/pkg/DESCR2
-rw-r--r--lang/blackdown-jre12/pkg/PLIST113
7 files changed, 201 insertions, 0 deletions
diff --git a/lang/blackdown-jre12/Makefile b/lang/blackdown-jre12/Makefile
new file mode 100644
index 00000000000..bf2f2ad0114
--- /dev/null
+++ b/lang/blackdown-jre12/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/16 17:53:21 tv Exp $
+#
+
+DISTNAME= j2re-1.2.2-FCS-linux-i386-glibc-2.1.3
+PKGNAME= blackdown-jre-1.2.2
+CATEGORIES= lang
+MASTER_SITES= ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/${FTPSUBDIR}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tv@netbsd.org
+HOMEPAGE= http://www.blackdown.org/
+
+DEPENDS= suse_x11-*:../../emulators/suse_x11
+
+CONFLICTS= jdk-*
+WRKSRC= ${WRKDIR}/jre1.2.2
+
+# Blackdown tree subdirectory for this version
+FTPSUBDIR= JDK-1.2.2/i386/FCS
+
+RESTRICTED= "Redistribution of repackaged binaries not permitted"
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(JDK_HOME)
+JDK_HOME:= ${LOCALBASE}/java
+.endif
+
+NO_BUILD= yes
+# since we change PREFIX:
+NO_MTREE= yes
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+post-patch:
+ @${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX} ${PREFIX}/jre
+ ${CHOWN} -hR ${BINOWN}:${BINGRP} ${WRKSRC}
+ ${GTAR} -C ${WRKSRC} -cf- . | ${GTAR} -C ${PREFIX}/jre -xpf-
+
+.include "../../mk/bsd.pkg.mk"
+
+# This needs to be after bsd.pkg.mk
+PREFIX:= ${JDK_HOME}
diff --git a/lang/blackdown-jre12/files/md5 b/lang/blackdown-jre12/files/md5
new file mode 100644
index 00000000000..2fe76dfb6b2
--- /dev/null
+++ b/lang/blackdown-jre12/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/16 17:53:21 tv Exp $
+
+MD5 (j2re-1.2.2-FCS-linux-i386-glibc-2.1.3.tar.bz2) = 2d818fc8692fecf2f3d57adc66dfdc60
diff --git a/lang/blackdown-jre12/files/patch-sum b/lang/blackdown-jre12/files/patch-sum
new file mode 100644
index 00000000000..20c174cfb6b
--- /dev/null
+++ b/lang/blackdown-jre12/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/16 17:53:21 tv Exp $
+
+MD5 (patch-aa) = 7b0dfa0e42d9a23406041cb1b6fcefda
diff --git a/lang/blackdown-jre12/patches/patch-aa b/lang/blackdown-jre12/patches/patch-aa
new file mode 100644
index 00000000000..4994e88b8fc
--- /dev/null
+++ b/lang/blackdown-jre12/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/16 17:53:21 tv Exp $
+
+--- bin/.java_wrapper.orig Mon Jul 31 19:14:25 2000
++++ bin/.java_wrapper Mon Oct 16 12:11:18 2000
+@@ -29,17 +29,6 @@
+ ;;
+ esac
+
+-# Resolve symlinks. See 4152645.
+-while [ -L "$PRG" ]; do
+- ls=`ls -ld "$PRG"`
+- link=`expr "$ls" : '.*-> \(.*\)$'`
+- if expr "$link" : '/' > /dev/null; then
+- PRG="$link"
+- else
+- PRG="`dirname $PRG`/$link"
+- fi
+-done
+-
+ APPHOME=`dirname "$PRG"`/..
+ JREHOME=$APPHOME/jre
+
+@@ -65,7 +54,7 @@
+ # Select vm type (if classic vm, also select thread type).
+ unset vmtype
+ unset ttype
+-DEFAULT_THREADS_FLAG=native
++DEFAULT_THREADS_FLAG=green
+ if [ "x$1" = "x-hotspot" ]; then
+ vmtype=hotspot
+ ttype=native_threads
diff --git a/lang/blackdown-jre12/pkg/COMMENT b/lang/blackdown-jre12/pkg/COMMENT
new file mode 100644
index 00000000000..dd031fc3971
--- /dev/null
+++ b/lang/blackdown-jre12/pkg/COMMENT
@@ -0,0 +1 @@
+Sun's Java(tm) Runtime Environment 1.2.2
diff --git a/lang/blackdown-jre12/pkg/DESCR b/lang/blackdown-jre12/pkg/DESCR
new file mode 100644
index 00000000000..d96f5a0e5c5
--- /dev/null
+++ b/lang/blackdown-jre12/pkg/DESCR
@@ -0,0 +1,2 @@
+This is the Blackdown.org Linux port of the Sun Java(tm) Runtime
+Environment, version 1.2.2.
diff --git a/lang/blackdown-jre12/pkg/PLIST b/lang/blackdown-jre12/pkg/PLIST
new file mode 100644
index 00000000000..36ad4e3d115
--- /dev/null
+++ b/lang/blackdown-jre12/pkg/PLIST
@@ -0,0 +1,113 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/16 17:53:21 tv Exp $
+jre/CHANGES
+jre/COPYRIGHT
+jre/LICENSE
+jre/README
+jre/README.linux
+jre/bin/.java_wrapper
+jre/bin/i386/green_threads/java
+jre/bin/i386/green_threads/keytool
+jre/bin/i386/green_threads/policytool
+jre/bin/i386/green_threads/rmid
+jre/bin/i386/green_threads/rmiregistry
+jre/bin/i386/green_threads/tnameserv
+jre/bin/i386/native_threads/java
+jre/bin/i386/native_threads/keytool
+jre/bin/i386/native_threads/policytool
+jre/bin/i386/native_threads/rmid
+jre/bin/i386/native_threads/rmiregistry
+jre/bin/i386/native_threads/tnameserv
+jre/bin/i386/realpath
+jre/bin/java
+jre/bin/keytool
+jre/bin/policytool
+jre/bin/rmid
+jre/bin/rmiregistry
+jre/bin/tnameserv
+jre/bin/realpath
+jre/lib/audio/soundbank.gm
+jre/lib/cmm/CIEXYZ.pf
+jre/lib/cmm/GRAY.pf
+jre/lib/cmm/LINEAR_RGB.pf
+jre/lib/cmm/PYCC.pf
+jre/lib/cmm/sRGB.pf
+jre/lib/content-types.properties
+jre/lib/ext/iiimp.jar
+jre/lib/flavormap.properties
+jre/lib/font.properties
+jre/lib/font.properties.tt
+jre/lib/fonts/LucidaBrightDemiBold.ttf
+jre/lib/fonts/LucidaBrightDemiItalic.ttf
+jre/lib/fonts/LucidaBrightItalic.ttf
+jre/lib/fonts/LucidaBrightRegular.ttf
+jre/lib/fonts/LucidaSansDemiBold.ttf
+jre/lib/fonts/LucidaSansDemiOblique.ttf
+jre/lib/fonts/LucidaSansOblique.ttf
+jre/lib/fonts/LucidaSansRegular.ttf
+jre/lib/fonts/LucidaTypewriterBold.ttf
+jre/lib/fonts/LucidaTypewriterBoldOblique.ttf
+jre/lib/fonts/LucidaTypewriterOblique.ttf
+jre/lib/fonts/LucidaTypewriterRegular.ttf
+jre/lib/fonts/fonts.dir
+jre/lib/i18n.jar
+jre/lib/i386/classic/Xusage.txt
+jre/lib/i386/classic/libjvm.so
+jre/lib/i386/green_threads/libhpi.so
+jre/lib/i386/libJdbcOdbc.so
+jre/lib/i386/libaudio.so
+jre/lib/i386/libawt.so
+jre/lib/i386/libcmm.so
+jre/lib/i386/libdcpr.so
+jre/lib/i386/libfontmanager.so
+jre/lib/i386/libhprof.so
+jre/lib/i386/libjava.so
+jre/lib/i386/libjpeg.so
+jre/lib/i386/libmath.so
+jre/lib/i386/libmlib_image.so
+jre/lib/i386/libnet.so
+jre/lib/i386/libsunwjit.so
+jre/lib/i386/libzip.so
+jre/lib/i386/native_threads/libhpi.so
+jre/lib/images/cursors/cursors.properties
+jre/lib/images/cursors/invalid32x32.gif
+jre/lib/images/cursors/motif_CopyDrop32x32.gif
+jre/lib/images/cursors/motif_CopyNoDrop32x32.gif
+jre/lib/images/cursors/motif_LinkDrop32x32.gif
+jre/lib/images/cursors/motif_LinkNoDrop32x32.gif
+jre/lib/images/cursors/motif_MoveDrop32x32.gif
+jre/lib/images/cursors/motif_MoveNoDrop32x32.gif
+jre/lib/jvm.hprof.txt
+jre/lib/locale/de/app-defaults/XApplication
+jre/lib/locale/ja/app-defaults/XApplication
+jre/lib/locale/ja_JP.PCK/app-defaults/XApplication
+jre/lib/locale/ja_JP.UTF-8/app-defaults/XApplication
+jre/lib/rt.jar
+jre/lib/security/cacerts
+jre/lib/security/java.policy
+jre/lib/security/java.security
+@dirrm jre/bin/i386/green_threads
+@dirrm jre/bin/i386/native_threads
+@dirrm jre/bin/i386
+@dirrm jre/bin
+@dirrm jre/lib/audio
+@dirrm jre/lib/cmm
+@dirrm jre/lib/ext
+@dirrm jre/lib/fonts
+@dirrm jre/lib/i386/classic
+@dirrm jre/lib/i386/green_threads
+@dirrm jre/lib/i386/native_threads
+@dirrm jre/lib/i386
+@dirrm jre/lib/images/cursors
+@dirrm jre/lib/images
+@dirrm jre/lib/locale/de/app-defaults
+@dirrm jre/lib/locale/de
+@dirrm jre/lib/locale/ja/app-defaults
+@dirrm jre/lib/locale/ja
+@dirrm jre/lib/locale/ja_JP.PCK/app-defaults
+@dirrm jre/lib/locale/ja_JP.PCK
+@dirrm jre/lib/locale/ja_JP.UTF-8/app-defaults
+@dirrm jre/lib/locale/ja_JP.UTF-8
+@dirrm jre/lib/locale
+@dirrm jre/lib/security
+@dirrm jre/lib
+@dirrm jre