aboutsummaryrefslogtreecommitdiffstats
path: root/java/kaffe-devel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-07 20:06:27 +0800
committeredwin <edwin@FreeBSD.org>2003-09-07 20:06:27 +0800
commitbd4dec6bc79b950698e68792e0f51f22d40e7fc4 (patch)
treee7fb7e2b6dd5e0bbed323ea87c1dc3a564f36107 /java/kaffe-devel
parent1ba5b5cd3f421217acfaa343e4059497852ca8c2 (diff)
downloadfreebsd-ports-gnome-bd4dec6bc79b950698e68792e0f51f22d40e7fc4.tar.gz
freebsd-ports-gnome-bd4dec6bc79b950698e68792e0f51f22d40e7fc4.tar.zst
freebsd-ports-gnome-bd4dec6bc79b950698e68792e0f51f22d40e7fc4.zip
New port: kaffe-devel, development release of kaffe Java VM
Multi-platform Java virtual machine with JIT compiler and AWT package PR: ports/55270 Submitted by: Mark Huizer <xaa+ports@timewasters.nl>
Diffstat (limited to 'java/kaffe-devel')
-rw-r--r--java/kaffe-devel/Makefile60
-rw-r--r--java/kaffe-devel/distinfo1
-rw-r--r--java/kaffe-devel/files/patch-config::i386::freebsd2::md.h12
-rw-r--r--java/kaffe-devel/pkg-descr8
-rw-r--r--java/kaffe-devel/pkg-plist77
5 files changed, 158 insertions, 0 deletions
diff --git a/java/kaffe-devel/Makefile b/java/kaffe-devel/Makefile
new file mode 100644
index 000000000000..9ae2d403964e
--- /dev/null
+++ b/java/kaffe-devel/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: kaffe
+# Date created: 4 August 2003
+# Whom: Mark Huizer <xaa+ports@timewasters.nl>
+#
+# $FreeBSD$
+#
+
+# Configure AWT implementation used (this can be put in make.conf)
+#
+# KAFFE_AWT = no No AWT classes
+# KAFFE_AWT = X X AWT classes
+# KAFFE_AWT = QT Qt AWT classes
+
+PORTNAME= kaffe
+PORTVERSION= 1.1.0
+CATEGORIES= java
+MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/
+PKGNAMESUFFIX= -devel
+
+MAINTAINER= xaa+ports@timewasters.nl
+COMMENT= Multi-platform Java virtual machine with JIT compiler and AWT package
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ ungif.5:${PORTSDIR}/graphics/libungif \
+ png.5:${PORTSDIR}/graphics/png \
+ iconv.3:${PORTSDIR}/converters/libiconv
+
+WRKSRC= ${WRKDIR}/kaffe-${PORTVERSION}
+
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+LIBTOOLFLAGS=
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-iconv-prefix=${LOCALBASE}
+
+.if defined(KAFFE_AWT)
+.if ${KAFFE_AWT} == "X"
+ CONFIGURE_ARGS+= --with-awt=X
+ USE_XLIB= yes
+.endif
+.if ${KAFFE_AWT} == "QT"
+ CONFIGURE_ARGS+= --with-awt=qt --with-qtdir=${X11BASE}
+ USE_QT_VER= 3
+.endif
+.if ${KAFFE_AWT} == "no"
+ CONFIGURE_ARGS+= --with-awt=no
+.endif
+.endif
+
+PLIST_SUB+= PORTVER=${PORTVERSION} ARCH=${ARCH}
+
+MAN1= kaffe.1
+
+post-install:
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/BUILD_ENVIRONMENT ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/license.terms ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/java/kaffe-devel/distinfo b/java/kaffe-devel/distinfo
new file mode 100644
index 000000000000..b3dceb6f6653
--- /dev/null
+++ b/java/kaffe-devel/distinfo
@@ -0,0 +1 @@
+MD5 (kaffe-1.1.0.tar.gz) = b761b506bfb1d0995f4dd20abba9e24f
diff --git a/java/kaffe-devel/files/patch-config::i386::freebsd2::md.h b/java/kaffe-devel/files/patch-config::i386::freebsd2::md.h
new file mode 100644
index 000000000000..6cff34cc34ba
--- /dev/null
+++ b/java/kaffe-devel/files/patch-config::i386::freebsd2::md.h
@@ -0,0 +1,12 @@
+ --- config/i386/freebsd2/md.h.orig Sat Sep 6 01:38:48 2003
+ +++ config/i386/freebsd2/md.h Sat Sep 6 01:38:52 2003
+ @@ -39,8 +39,8 @@
+ asm("frstor %0": :"m"(*fdata))
+
+ /* Define signal context macros for xprofiling */
+ -#define SIGNAL_ARGS(sig, sc) int sig, int __code, struct sigcontext *##sc
+ -#define SIGNAL_CONTEXT_POINTER(scp) struct sigcontext *##scp
+ +#define SIGNAL_ARGS(sig, sc) int sig, int __code, struct sigcontext *sc
+ +#define SIGNAL_CONTEXT_POINTER(scp) struct sigcontext *scp
+ #define GET_SIGNAL_CONTEXT_POINTER(sc) (sc)
+ #define SIGNAL_PC(scp) (scp)->sc_pc
diff --git a/java/kaffe-devel/pkg-descr b/java/kaffe-devel/pkg-descr
new file mode 100644
index 000000000000..0d60f2c3cb8a
--- /dev/null
+++ b/java/kaffe-devel/pkg-descr
@@ -0,0 +1,8 @@
+Kaffe is multi-platform Java virtual machine. It includes its own
+implementation of the Java JDK 1.2 standard classes, including the
+AWT classes. Kaffe also does "just-in-time" compilation of Java
+bytecode into machine code for increased execution speed.
+
+WWW: http://www.kaffe.org/
+
+* Java and Javasoft are registered trademark of Sun Microsystems, Inc.
diff --git a/java/kaffe-devel/pkg-plist b/java/kaffe-devel/pkg-plist
new file mode 100644
index 000000000000..9f0b41d50e5f
--- /dev/null
+++ b/java/kaffe-devel/pkg-plist
@@ -0,0 +1,77 @@
+bin/appletviewer
+bin/install-jar
+bin/jar
+bin/java
+bin/javac
+bin/javadoc
+bin/javah
+bin/javakey
+bin/javap
+bin/jdb
+bin/kaffe
+bin/kaffeh
+bin/kjc
+bin/kopi
+bin/native2ascii
+bin/rmic
+bin/rmiregistry
+bin/serialver
+include/kaffe/Arrays.h
+include/kaffe/errors.h
+include/kaffe/java_lang_Object.h
+include/kaffe/java_lang_String.h
+include/kaffe/java_lang_Thread.h
+include/kaffe/java_lang_ThreadGroup.h
+include/kaffe/java_lang_Throwable.h
+include/kaffe/jmalloc.h
+include/kaffe/jni_cpp.h
+include/kaffe/jsyscall.h
+include/kaffe/jtypes.h
+include/kaffe/native.h
+include/jni.h
+jre/bin/kaffe-bin
+jre/bin/java
+jre/bin/kaffe
+jre/bin/rmiregistry
+jre/lib/%%ARCH%%/libawt-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libawt.so
+jre/lib/%%ARCH%%/libawt.la
+jre/lib/%%ARCH%%/libio-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libio.so
+jre/lib/%%ARCH%%/libio.la
+jre/lib/%%ARCH%%/libkaffevm-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libkaffevm.so
+jre/lib/%%ARCH%%/libkaffevm.la
+jre/lib/%%ARCH%%/libmanagement-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libmanagement.so
+jre/lib/%%ARCH%%/libmanagement.la
+jre/lib/%%ARCH%%/libmath-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libmath.so
+jre/lib/%%ARCH%%/libmath.la
+jre/lib/%%ARCH%%/libnative-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libnative.so
+jre/lib/%%ARCH%%/libnative.la
+jre/lib/%%ARCH%%/libnet-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libnet.so
+jre/lib/%%ARCH%%/libnet.la
+jre/lib/%%ARCH%%/libsecurity-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libsecurity.so
+jre/lib/%%ARCH%%/libsecurity.la
+jre/lib/%%ARCH%%/libtritonuscommon-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libtritonuscommon.so
+jre/lib/%%ARCH%%/libtritonuscommon.la
+jre/lib/%%ARCH%%/libzip-%%PORTVER%%.so
+jre/lib/%%ARCH%%/libzip.so
+jre/lib/%%ARCH%%/libzip.la
+jre/lib/security/java.security
+jre/lib/rt.jar
+lib/kjc.jar
+share/kaffe/BUILD_ENVIRONMENT
+share/kaffe/license.terms
+@dirrm include/kaffe
+@dirrm jre/bin
+@dirrm jre/lib/%%ARCH%%
+@dirrm jre/lib/security
+@dirrm jre/lib
+@dirrm jre
+@dirrm share/kaffe