summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-05-15 03:57:57 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-05-15 03:57:57 +0000
commit3687211e4f8ba2e8dc8a951a63a4092dd6451d4a (patch)
treed54a15e931c3eeecc357c93def6b24f114fd9b0a /dev-java/bsh
parentInitial import. (diff)
downloadhistorical-3687211e4f8ba2e8dc8a951a63a4092dd6451d4a.tar.gz
historical-3687211e4f8ba2e8dc8a951a63a4092dd6451d4a.tar.bz2
historical-3687211e4f8ba2e8dc8a951a63a4092dd6451d4a.zip
Initial import.
Diffstat (limited to 'dev-java/bsh')
-rw-r--r--dev-java/bsh/Manifest8
-rw-r--r--dev-java/bsh/bsh-1.2-r7.ebuild27
-rw-r--r--dev-java/bsh/files/bsh.Console31
-rw-r--r--dev-java/bsh/files/bsh.Interpreter31
-rw-r--r--dev-java/bsh/files/digest-bsh-1.2-r71
5 files changed, 94 insertions, 4 deletions
diff --git a/dev-java/bsh/Manifest b/dev-java/bsh/Manifest
index d2e2e909a51e..efe6e9192a11 100644
--- a/dev-java/bsh/Manifest
+++ b/dev-java/bsh/Manifest
@@ -1,5 +1,5 @@
-MD5 2d640d894a8bb797dc891837ec564719 bsh-1.2-r7.ebuild 785
-MD5 91bdeaa770f2830e76f67d8d265f82af ChangeLog 281
-MD5 384f6478120bb234d69d32a30a37175f files/bsh.Console 721
-MD5 b80f6f6a8aaaa765da9ccfd696363d8e files/bsh.Interpreter 732
+MD5 67b5fc72dcf13423381cc4376f4696bf bsh-1.2-r7.ebuild 880
+MD5 ed42ffa4558b2f3be717b1746b4f14d7 ChangeLog 368
+MD5 64611ab902f6d0eb7f3ce51222b1b1cd files/bsh.Console 816
+MD5 e70fbaf743f0eff828aaefbe4bfdebe4 files/bsh.Interpreter 831
MD5 21e5032685b7867cb02451abb400ffb3 files/digest-bsh-1.2-r7 58
diff --git a/dev-java/bsh/bsh-1.2-r7.ebuild b/dev-java/bsh/bsh-1.2-r7.ebuild
new file mode 100644
index 000000000000..9e220fe2151c
--- /dev/null
+++ b/dev-java/bsh/bsh-1.2-r7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bsh/bsh-1.2-r7.ebuild,v 1.1 2003/05/15 03:57:52 absinthe Exp $
+
+inherit java-pkg
+
+At="bsh-1.2b7.jar"
+S=${WORKDIR}
+DESCRIPTION="BeanShell is a small, free, embeddable, Java source interpreter with object scripting language features."
+SRC_URI="http://www.beanshell.org/${At}"
+HOMEPAGE="http://www.beanshell.org/"
+KEYWORDS="x86 ppc sparc alpha mips hppa arm"
+LICENSE="LGPL-2.1"
+SLOT="0"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.2"
+
+src_compile() {
+ einfo " This ebuild is binary-only (for now)."
+ einfo " If you get this to compile from source, please file a bug"
+ einfo " and let us know. http://bugs.gentoo.org/"
+}
+
+src_install() {
+ dobin ${FILESDIR}/bsh.Console ${FILESDIR}/bsh.Interpreter
+ java-pkg_dojar ${DISTDIR}/${At}
+}
diff --git a/dev-java/bsh/files/bsh.Console b/dev-java/bsh/files/bsh.Console
new file mode 100644
index 000000000000..83eedef49d1a
--- /dev/null
+++ b/dev-java/bsh/files/bsh.Console
@@ -0,0 +1,31 @@
+#!/bin/sh
+# bsh.Console Launch Script
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bsh/files/bsh.Console,v 1.1 2003/05/15 03:57:52 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="${CLASSPATH}:`/usr/bin/java-config --classpath=bsh`"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+${JAVA_HOME}/bin/java bsh.Console
diff --git a/dev-java/bsh/files/bsh.Interpreter b/dev-java/bsh/files/bsh.Interpreter
new file mode 100644
index 000000000000..a3b4d8d02a2a
--- /dev/null
+++ b/dev-java/bsh/files/bsh.Interpreter
@@ -0,0 +1,31 @@
+#!/bin/sh
+# bsh.Interpreter Launch Script
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bsh/files/bsh.Interpreter,v 1.1 2003/05/15 03:57:52 absinthe Exp $
+
+JAVA_HOME=`/usr/bin/java-config --jdk-home`
+if [ -z "${JAVA_HOME}" ] ; then
+ JAVA_HOME=`/usr/bin/java-config --jre-home`
+fi
+CLASSPATH="${CLASSPATH}:`/usr/bin/java-config --classpath=bsh`"
+
+if [ ! -f ${JAVA_HOME}/bin/java ] ; then
+ echo " "
+ echo "I tried using the following Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Java Runtime missing. Please run java-config(1) and ensure"
+ echo "your environment is configured properly."
+ exit 1
+else
+ echo " "
+ echo "Using Java Runtime:"
+ echo "${JAVA_HOME}/bin/java"
+ echo " "
+ echo "Using CLASSPATH:"
+ echo "${CLASSPATH}"
+ echo " "
+fi
+
+${JAVA_HOME}/bin/java bsh.Interpreter $*
diff --git a/dev-java/bsh/files/digest-bsh-1.2-r7 b/dev-java/bsh/files/digest-bsh-1.2-r7
new file mode 100644
index 000000000000..a76ebd43351e
--- /dev/null
+++ b/dev-java/bsh/files/digest-bsh-1.2-r7
@@ -0,0 +1 @@
+MD5 953188523fbc7ae5145d09978c26458d bsh-1.2b7.jar 212471