aboutsummaryrefslogtreecommitdiff
path: root/java/shujit
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-10 23:56:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-10 23:56:45 +0000
commit06b8bcdd533c540ead016ab0c46d3991c21cb616 (patch)
tree60feaef1bacb3ccd2ce9ddc746a83f23cc98518a /java/shujit
parent0d38218a4bceda2e21ba1834f120c997aeadadc3 (diff)
downloadports-06b8bcdd533c540ead016ab0c46d3991c21cb616.tar.gz
ports-06b8bcdd533c540ead016ab0c46d3991c21cb616.zip
Initial import of shujit version 0.2.10.
A Just In Time java bytecode compiler. PR: 11491 Submitted by: Jake Burkholder <jake@checker.org>
Notes
Notes: svn path=/head/; revision=19410
Diffstat (limited to 'java/shujit')
-rw-r--r--java/shujit/Makefile55
-rw-r--r--java/shujit/distinfo1
-rw-r--r--java/shujit/files/patch-aa11
-rw-r--r--java/shujit/files/patch-ab8
-rw-r--r--java/shujit/pkg-comment1
-rw-r--r--java/shujit/pkg-descr8
-rw-r--r--java/shujit/pkg-message7
-rw-r--r--java/shujit/pkg-plist3
8 files changed, 94 insertions, 0 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile
new file mode 100644
index 000000000000..d95f320663ff
--- /dev/null
+++ b/java/shujit/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: shujit
+# Version required: 0.2.10
+# Date created: 30 April 1999
+# Whom: jake@checker.org
+#
+# $Id$
+#
+
+DISTNAME= shujit-0.2.10
+CATEGORIES= lang
+MASTER_SITES= http://www.shudo.net/jit/dist/
+
+MAINTAINER= jake@checker.org
+
+BUILD_DEPENDS= ${PREFIX}/bin/ruby:${PORTSDIR}/lang/ruby \
+ ${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/lang/jdk \
+ ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
+RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/lang/jdk
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 400002
+BUILD_DEPENDS= ${PREFIX}/bin/egcc:${PORTSDIR}/lang/egcs
+.endif
+
+WRKSRC= ${WRKDIR}/shujit
+ONLY_FOR_ARCHS= i386
+
+USE_GMAKE= yes
+MAKE_FLAGS=
+MAKEFILE=
+MAKE_ARGS=
+ALL_TARGET=
+
+JAVADIR= ${PREFIX}/jdk1.1.8
+JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads
+JAVABINDIR= ${JAVADIR}/bin/i386/green_threads
+JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'`
+
+pre-fetch:
+ @( if [ ${JAVAOBJFORMAT} != ELF ]; then \
+ ${CAT} ${PKGDIR}/MESSAGE; \
+ exit 1; \
+ fi; )
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
+
+post-install:
+ @${MKDIR} ${JAVADIR}/shujit
+ @${INSTALL_MAN} ${WRKSRC}/README ${JAVADIR}/shujit
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "See ${JAVADIR}/shujit/README for usage instructions."
+ @${ECHO_MSG} ""
+
+.include <bsd.port.post.mk>
diff --git a/java/shujit/distinfo b/java/shujit/distinfo
new file mode 100644
index 000000000000..a0a494d740d1
--- /dev/null
+++ b/java/shujit/distinfo
@@ -0,0 +1 @@
+MD5 (shujit-0.2.10.tar.gz) = abda1bac7fc7ce079dc155e55fd52017
diff --git a/java/shujit/files/patch-aa b/java/shujit/files/patch-aa
new file mode 100644
index 000000000000..8f1a9515d6e5
--- /dev/null
+++ b/java/shujit/files/patch-aa
@@ -0,0 +1,11 @@
+--- compiler.h.orig Fri Apr 30 08:17:44 1999
++++ compiler.h Fri Apr 30 08:18:41 1999
+@@ -124,7 +124,7 @@
+ # undef EXECUTEJAVA_IN_ASM
+ # undef RESOLVE_SYMBOL_ON_CODE
+ # undef SEARCH_SIGCONTEXT
+-# define LIBS_ADDDLSEG "/usr/lib/aout/libc.so.3.1|/usr/lib/aout/libc.so.3.0|/usr/lib/libc.so.3.1|/usr/lib/libc.so.3.0,/usr/lib/aout/libm.so.2.0|/usr/lib/libm.so.2.0"
++# define LIBS_ADDDLSEG "/usr/lib/libc.so.3,/usr/lib/libm.so.2"
+ #else
+ # undef EXECUTEJAVA_IN_ASM
+ # undef RESOLVE_SYMBOL_ON_CODE
diff --git a/java/shujit/files/patch-ab b/java/shujit/files/patch-ab
new file mode 100644
index 000000000000..01face89eb35
--- /dev/null
+++ b/java/shujit/files/patch-ab
@@ -0,0 +1,8 @@
+--- def.mk.orig Wed Jun 9 22:05:03 1999
++++ def.mk Wed Jun 9 22:05:18 1999
+@@ -1,4 +1,4 @@
+-J_HOME = /usr/local/jdk1.1.7
++J_HOME = /usr/local/jdk1.1.8
+ #J_HOME = /usr/local/jdk117_v1a
+
+ # for GCC 2.7.X or older
diff --git a/java/shujit/pkg-comment b/java/shujit/pkg-comment
new file mode 100644
index 000000000000..cd09aafdbb2a
--- /dev/null
+++ b/java/shujit/pkg-comment
@@ -0,0 +1 @@
+A Just In Time java bytecode compiler.
diff --git a/java/shujit/pkg-descr b/java/shujit/pkg-descr
new file mode 100644
index 000000000000..393fcddd3510
--- /dev/null
+++ b/java/shujit/pkg-descr
@@ -0,0 +1,8 @@
+ShuJIT is a Just In Time bytecode compiler (JIT) which
+works with Sun Microsystems' Java(tm) Virtual Machine
+(JVM) such as JDK and JRE on Intel x86 processors.
+
+http://www.shudo.net/jit/index.html
+
+- Jake
+jake@checker.org
diff --git a/java/shujit/pkg-message b/java/shujit/pkg-message
new file mode 100644
index 000000000000..475545119e0b
--- /dev/null
+++ b/java/shujit/pkg-message
@@ -0,0 +1,7 @@
+*************************************************************************
+*
+* This port requires the elf jdk.
+* A binary aout release is available at
+* http://www.shudo.net/jit/dist/shujit-0.2.10-bin-freebsd.tar.gz.
+*
+*************************************************************************
diff --git a/java/shujit/pkg-plist b/java/shujit/pkg-plist
new file mode 100644
index 000000000000..e8fd6ac93a20
--- /dev/null
+++ b/java/shujit/pkg-plist
@@ -0,0 +1,3 @@
+jdk1.1.8/lib/i386/green_threads/libshujit.so
+jdk1.1.8/shujit/README
+@dirrm jdk1.1.8/shujit