Initial import of shujit version 0.2.10.

A Just In Time java bytecode compiler.

PR:		11491
Submitted by:	Jake Burkholder <jake@checker.org>
This commit is contained in:
Steve Price 1999-06-10 23:56:45 +00:00
parent 0d38218a4b
commit 06b8bcdd53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19410
8 changed files with 94 additions and 0 deletions

55
java/shujit/Makefile Normal file
View File

@ -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>

1
java/shujit/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (shujit-0.2.10.tar.gz) = abda1bac7fc7ce079dc155e55fd52017

View File

@ -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

View File

@ -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

1
java/shujit/pkg-comment Normal file
View File

@ -0,0 +1 @@
A Just In Time java bytecode compiler.

8
java/shujit/pkg-descr Normal file
View File

@ -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

7
java/shujit/pkg-message Normal file
View File

@ -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.
*
*************************************************************************

3
java/shujit/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
jdk1.1.8/lib/i386/green_threads/libshujit.so
jdk1.1.8/shujit/README
@dirrm jdk1.1.8/shujit