summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv>2000-10-16 18:40:03 +0000
committertv <tv>2000-10-16 18:40:03 +0000
commitdfdcb749620098eb016ff2e9e91bb64931b35b66 (patch)
treed9e4d6bef905c382c46d9cfe64b0211ff94a9fbe /lang
parente6501eeb5b643bd2f5bfe59afa39202cd00ebec3 (diff)
downloadpkgsrc-dfdcb749620098eb016ff2e9e91bb64931b35b66.tar.gz
A Just-In-Time compiler for the blackdown Linux JVMs.
Diffstat (limited to 'lang')
-rw-r--r--lang/jbuilder-jit/Makefile48
-rw-r--r--lang/jbuilder-jit/files/md53
-rw-r--r--lang/jbuilder-jit/pkg/COMMENT1
-rw-r--r--lang/jbuilder-jit/pkg/DESCR4
-rw-r--r--lang/jbuilder-jit/pkg/MESSAGE10
-rw-r--r--lang/jbuilder-jit/pkg/PLIST5
6 files changed, 71 insertions, 0 deletions
diff --git a/lang/jbuilder-jit/Makefile b/lang/jbuilder-jit/Makefile
new file mode 100644
index 00000000000..e5019b41d20
--- /dev/null
+++ b/lang/jbuilder-jit/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/16 18:40:03 tv Exp $
+#
+
+DISTNAME= unix_jb35foundation
+PKGNAME= jbuilder-jit-1.2.15
+CATEGORIES= lang
+MASTER_SITES= ftp://ftpc.inprise.com/pub/jbuilder/jb35foundation/unix/
+
+MAINTAINER= tv@netbsd.org
+HOMEPAGE= http://www.inprise.com/jbuilder/linux/download/
+
+# works with both 1.2.2 and 1.3 JVMs
+DEPENDS= blackdown-jre-*:../../lang/blackdown-jre12
+
+WRKSRC= ${WRKDIR}/javacomp-1.2.15
+EXTRACT_ELEMENTS= LinuxJIT/javacomp-1.2.15.tar.gz
+
+RESTRICTED= "Redistribution of binaries not permitted"
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_SRC_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_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-extract:
+ @cd ${WRKDIR} && ${GTAR} -xzf ${EXTRACT_ELEMENTS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/libjavacomp.so ${WRKSRC}/libjavacomp_g.so \
+ ${PREFIX}/jre/lib/i386/
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/jre/README.javacomp
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${PREFIX}/jre/LICENSE.javacomp
+
+.include "../../mk/bsd.pkg.mk"
+
+# This needs to be after bsd.pkg.mk
+PREFIX:= ${JDK_HOME}
diff --git a/lang/jbuilder-jit/files/md5 b/lang/jbuilder-jit/files/md5
new file mode 100644
index 00000000000..7d1e4fb7bb0
--- /dev/null
+++ b/lang/jbuilder-jit/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/16 18:40:03 tv Exp $
+
+MD5 (unix_jb35foundation.tar.gz) = daa368399439c9a18c111230de94bae4
diff --git a/lang/jbuilder-jit/pkg/COMMENT b/lang/jbuilder-jit/pkg/COMMENT
new file mode 100644
index 00000000000..92baad73194
--- /dev/null
+++ b/lang/jbuilder-jit/pkg/COMMENT
@@ -0,0 +1 @@
+Just-In-Time compiler for Linux Java Virtual Machine
diff --git a/lang/jbuilder-jit/pkg/DESCR b/lang/jbuilder-jit/pkg/DESCR
new file mode 100644
index 00000000000..5bfc654a0e8
--- /dev/null
+++ b/lang/jbuilder-jit/pkg/DESCR
@@ -0,0 +1,4 @@
+This is a JIT (Just-In-Time) compiler for Linux/i386 based Java Virtual
+Machines. It precompiles classes as they are referenced into native code,
+permitting applications that stay running to run much faster than standard
+bytecode interpretation.
diff --git a/lang/jbuilder-jit/pkg/MESSAGE b/lang/jbuilder-jit/pkg/MESSAGE
new file mode 100644
index 00000000000..f89b37e383c
--- /dev/null
+++ b/lang/jbuilder-jit/pkg/MESSAGE
@@ -0,0 +1,10 @@
+===================================================================
+
+In order to make use of the Inprise JBuilder JIT for the Linux JVM,
+you need to set one of the following (either will work):
+
+1. Add "-Djava.compiler=javacomp" to the java command line.
+
+2. Set "JAVA_COMPILER=javacomp" in the process environment.
+
+===================================================================
diff --git a/lang/jbuilder-jit/pkg/PLIST b/lang/jbuilder-jit/pkg/PLIST
new file mode 100644
index 00000000000..496b438a034
--- /dev/null
+++ b/lang/jbuilder-jit/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/16 18:40:03 tv Exp $
+jre/lib/i386/libjavacomp.so
+jre/lib/i386/libjavacomp_g.so
+jre/README.javacomp
+jre/LICENSE.javacomp