summaryrefslogtreecommitdiff
path: root/lang/japhar
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-10-28 09:51:43 +0000
committeragc <agc@pkgsrc.org>1999-10-28 09:51:43 +0000
commit4477210beeea68890e1c4652ff43a45b4d7eaabe (patch)
tree9fa00f028c3cf4a3f150130799d968c10217a60d /lang/japhar
parent86d63b2cc08f19ed6a6e6f845bf05951d7778eb1 (diff)
downloadpkgsrc-4477210beeea68890e1c4652ff43a45b4d7eaabe.tar.gz
Import japhar, a Java Virtual Machine, currently JDK 1.1.5-level, into
the NetBSD packages collection.
Diffstat (limited to 'lang/japhar')
-rw-r--r--lang/japhar/Makefile23
-rw-r--r--lang/japhar/files/md53
-rw-r--r--lang/japhar/files/patch-sum7
-rw-r--r--lang/japhar/patches/patch-aa45
-rw-r--r--lang/japhar/patches/patch-ab22
-rw-r--r--lang/japhar/patches/patch-ac18
-rw-r--r--lang/japhar/patches/patch-ad18
-rw-r--r--lang/japhar/patches/patch-ae15
-rw-r--r--lang/japhar/pkg/COMMENT1
-rw-r--r--lang/japhar/pkg/DESCR9
-rw-r--r--lang/japhar/pkg/PLIST115
11 files changed, 276 insertions, 0 deletions
diff --git a/lang/japhar/Makefile b/lang/japhar/Makefile
new file mode 100644
index 00000000000..c64b1300479
--- /dev/null
+++ b/lang/japhar/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+#
+
+DISTNAME= japhar-0.08
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.japhar.org/pub/hungry/japhar/source/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.japhar.org/
+
+ONLY_FOR_PLATFORM= SunOS-*-* # untested on NetBSD
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LIBTOOL_FLAGS= --install-la
+USE_GMAKE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+# The japhar tar archive uses ././@LongLink GNU tar hacks
+.undef EXTRACT_USING_PAX
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/japhar/files/md5 b/lang/japhar/files/md5
new file mode 100644
index 00000000000..8a67bb4d349
--- /dev/null
+++ b/lang/japhar/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+MD5 (japhar-0.08.tar.gz) = 8308142a95ca263b9e3f39f8fa1e416f
diff --git a/lang/japhar/files/patch-sum b/lang/japhar/files/patch-sum
new file mode 100644
index 00000000000..e52cdafb844
--- /dev/null
+++ b/lang/japhar/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+MD5 (patch-aa) = 862edbfa1de1b24795f1d63dffb572ae
+MD5 (patch-ab) = ef6025258adca0b459a50581e7bbc3ef
+MD5 (patch-ac) = 1353e8c332a30817cb93c43da089a32f
+MD5 (patch-ad) = eacea1ce02ce32856ee9e46b4bc823d5
+MD5 (patch-ae) = 458dfa6d37e753c0d6a43f635b859102
diff --git a/lang/japhar/patches/patch-aa b/lang/japhar/patches/patch-aa
new file mode 100644
index 00000000000..fe35c05fa51
--- /dev/null
+++ b/lang/japhar/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+Use NetBSD pkglibtool
+
+--- configure 1999/10/19 10:58:12 1.1
++++ configure 1999/10/19 10:59:12
+@@ -1557,6 +1557,7 @@
+ ac_tool_prefix=
+ fi
+
++if false; then
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+@@ -1789,6 +1790,7 @@
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
+@@ -5973,8 +5975,8 @@
+ cat >conftestl.c <<\EOF &&
+ void japhar_test() {}
+ EOF
+- ../libtool --mode=compile ${CC-cc} -c $CFLAGS $CPPFLAGS conftestl.c 1>&5 &&
+- ../libtool --mode=link ${CC-cc} -shared -export-dynamic -no-undefined -rpath `pwd`/inst -version-info 1:0:0 $CFLAGS $CPPFLAGS $LDFLAGS conftestl.lo -o libconftest.la 1>&5 &&
++ ${LIBTOOL} --mode=compile ${CC-cc} -c $CFLAGS $CPPFLAGS conftestl.c 1>&5 &&
++ ${LIBTOOL} --mode=link ${CC-cc} -shared -export-dynamic -no-undefined -rpath `pwd`/inst -version-info 1:0:0 $CFLAGS $CPPFLAGS $LDFLAGS conftestl.lo -o libconftest.la 1>&5 &&
+ cat >conftest.c <<\EOF &&
+ #include <stdio.h>
+ /* We are here in a subdirectory, and need to use .. to find the file */
+@@ -6004,9 +6006,9 @@
+ }
+ EOF
+ ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.c 1>&5 &&
+- ../libtool --mode=link ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.o $LIBS 1>&5 &&
++ ${LIBTOOL} --mode=link ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.o $LIBS 1>&5 &&
+ mkdir inst &&
+- ../libtool --mode=install cp libconftest.la `pwd`/inst/libconftest.la 1>&5
++ ${LIBTOOL} --mode=install cp libconftest.la `pwd`/inst/libconftest.la 1>&5
+ ) &&
+ libname=`. conftest.dir/inst/libconftest.la && echo $dlname` &&
+ test x"$libname"x != x""x &&
diff --git a/lang/japhar/patches/patch-ab b/lang/japhar/patches/patch-ab
new file mode 100644
index 00000000000..cac2fefc0ad
--- /dev/null
+++ b/lang/japhar/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+Use NetBSD's pkglibtool
+
+--- lib/libffi/configure 1999/10/19 11:00:32 1.1
++++ lib/libffi/configure 1999/10/19 11:00:58
+@@ -1520,6 +1520,7 @@
+ ac_tool_prefix=
+ fi
+
++if false; then
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+@@ -1752,6 +1753,7 @@
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
diff --git a/lang/japhar/patches/patch-ac b/lang/japhar/patches/patch-ac
new file mode 100644
index 00000000000..97b5994fcd5
--- /dev/null
+++ b/lang/japhar/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+Pick up PATH_MAX from <limits.h> on Solaris
+
+--- lib/libnative/java.io/file.c 1999/10/19 11:16:37 1.1
++++ lib/libnative/java.io/file.c 1999/10/19 11:17:59
+@@ -46,6 +46,11 @@
+ # include <direct.h>
+ #endif
+
++/* On Solaris, include <limits.h> to pick up PATH_MAX */
++#if defined(__sun__) && defined(__svr4__)
++#include <limits.h>
++#endif
++
+ /**
+ * WARNING: returned pointer must be freed by caller
+ */
diff --git a/lang/japhar/patches/patch-ad b/lang/japhar/patches/patch-ad
new file mode 100644
index 00000000000..aafcc231f81
--- /dev/null
+++ b/lang/japhar/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+On Solaris, pick up PATH_MAX from <limits.h>
+
+--- lib/libnative/java.io/unixfilesystem.c 1999/10/19 11:19:27 1.1
++++ lib/libnative/java.io/unixfilesystem.c 1999/10/19 11:19:53
+@@ -47,6 +47,11 @@
+ #include <utime.h>
+ #endif
+
++/* On Solaris, include <limits.h> to pick up PATH_MAX */
++#if defined(__sun__) && defined(__svr4__)
++#include <limits.h>
++#endif
++
+ static jint BA_EXISTS;
+ static jint BA_REGULAR;
+ static jint BA_DIRECTORY;
diff --git a/lang/japhar/patches/patch-ae b/lang/japhar/patches/patch-ae
new file mode 100644
index 00000000000..13e290b392c
--- /dev/null
+++ b/lang/japhar/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+
+Don't install libreadline.a
+
+--- progs/japhard/readline/Makefile.in 1999/10/19 13:33:04 1.1
++++ progs/japhard/readline/Makefile.in 1999/10/19 13:33:41
+@@ -327,7 +327,7 @@
+ all-recursive-am: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+-install-exec-am: install-libLIBRARIES
++install-exec-am:
+ install-exec: install-exec-am
+
+ install-data-am:
diff --git a/lang/japhar/pkg/COMMENT b/lang/japhar/pkg/COMMENT
new file mode 100644
index 00000000000..21e0e615829
--- /dev/null
+++ b/lang/japhar/pkg/COMMENT
@@ -0,0 +1 @@
+a Java Virtual Machine, currently JDK 1.1.5-level.
diff --git a/lang/japhar/pkg/DESCR b/lang/japhar/pkg/DESCR
new file mode 100644
index 00000000000..bf6c37dc07a
--- /dev/null
+++ b/lang/japhar/pkg/DESCR
@@ -0,0 +1,9 @@
+Japhar is the Hungry Programmers' Java VM. It has been built from the
+ground up without consulting Sun's sources. It is currently at JDK
+1.1.5-level.
+
+Japhar is released under the LGPL, which should make it much more
+attractive for companies interested in embedding an open source JVM in
+their proprietary/commercial products. For example, the LGPL is
+compatible with Netscape's NPL license, and allows Japhar to be
+included into Mozilla.
diff --git a/lang/japhar/pkg/PLIST b/lang/japhar/pkg/PLIST
new file mode 100644
index 00000000000..45ca5c275bf
--- /dev/null
+++ b/lang/japhar/pkg/PLIST
@@ -0,0 +1,115 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
+lib/libarch.so.1.0
+lib/libarch.la
+lib/libarch.a
+lib/libffi.so.2.3
+lib/libffi.la
+lib/libffi.a
+lib/libjni.so.1.0
+lib/libjni.la
+lib/libjni.a
+lib/libjvmdi.so.1.0
+lib/libjvmdi.la
+lib/libjvmdi.a
+lib/libruntime.so.1.0
+lib/libruntime.la
+lib/libruntime.a
+lib/libjaphar_lang.so.1.0
+lib/libjaphar_lang.la
+lib/libjaphar_lang.a
+lib/libjaphar_reflect.so.1.0
+lib/libjaphar_reflect.la
+lib/libjaphar_reflect.a
+lib/libjaphar_io.so.1.0
+lib/libjaphar_io.la
+lib/libjaphar_io.a
+lib/libjaphar_net.so.1.0
+lib/libjaphar_net.la
+lib/libjaphar_net.a
+lib/libjaphar_security.so.1.0
+lib/libjaphar_security.la
+lib/libjaphar_security.a
+lib/libjaphar_util.so.1.0
+lib/libjaphar_util.la
+lib/libjaphar_util.a
+lib/libjaphar_zip-1.1.so.1.0
+lib/libjaphar_zip-1.1.la
+lib/libjaphar_zip-1.1.a
+lib/libjaphar_zip.so.1.0
+lib/libjaphar_zip.la
+lib/libjaphar_zip.a
+lib/libjaphar_sysresource.so.1.0
+lib/libjaphar_sysresource.la
+lib/libjaphar_sysresource.a
+lib/libjaphar_agent.so.1.0
+lib/libjaphar_agent.la
+lib/libjaphar_agent.a
+lib/libjaphar_mmedia.so.1.0
+lib/libjaphar_mmedia.la
+lib/libjaphar_mmedia.a
+lib/libjaphar_awt.so.1.0
+lib/libjaphar_awt.la
+lib/libjaphar_awt.a
+lib/libjaphar_fontmanager.so.1.0
+lib/libjaphar_fontmanager.la
+lib/libjaphar_fontmanager.a
+bin/japhar
+bin/japharh
+bin/japhard
+bin/jar
+bin/jarsigner
+bin/javac
+bin/javah
+bin/jdb
+bin/javadoc
+bin/javakey
+bin/javap
+bin/appletviewer
+bin/native2ascii
+bin/rmic
+bin/rmid
+bin/rmiregistry
+bin/serialver
+bin/tnameserv
+bin/policytool
+bin/keytool
+bin/extcheck
+bin/japhar-config
+include/japhar/private/ClazzFile.h
+include/japhar/private/alloc.h
+include/japhar/private/array-class.h
+include/japhar/private/arrays.h
+include/japhar/private/class-repository.h
+include/japhar/private/classpath.h
+include/japhar/private/dynamic_loading.h
+include/japhar/private/exceptions.h
+include/japhar/private/gc.h
+include/japhar/private/getopt.h
+include/japhar/private/init.h
+include/japhar/private/interp.h
+include/japhar/private/log.h
+include/japhar/private/native-threads.h
+include/japhar/private/method.h
+include/japhar/private/compat.h
+include/japhar/private/objects.h
+include/japhar/private/op_stack.h
+include/japhar/private/primitive-class.h
+include/japhar/private/qop.h
+include/japhar/private/resolve.h
+include/japhar/private/sig.h
+include/japhar/private/signals.h
+include/japhar/private/util.h
+include/japhar/private/zipfile.h
+include/japhar/jnitypes.h
+include/japhar/jni.h
+include/japhar/jniint.h
+include/japhar/jvmdi.h
+include/japhar/jvmdiint.h
+include/fficonfig.h
+include/ffi.h
+include/ffi_mips.h
+@unexec install-info --delete %D/info/japhar.info %D/info/dir
+info/japhar.info
+@exec install-info %D/info/japhar.info %D/info/dir
+@dirrm include/japhar/private
+@dirrm include/japhar