aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2002-01-27 01:34:45 +0800
committerokazaki <okazaki@FreeBSD.org>2002-01-27 01:34:45 +0800
commit4da0562e611372239f255eb64881b319a0ef47de (patch)
tree19261d2c6bbd622e73bcf9a92edcc42bf456fbf8 /lang
parent905a1a1e2c1551987a9223eb8c73ec058ce24e9c (diff)
downloadfreebsd-ports-graphics-4da0562e611372239f255eb64881b319a0ef47de.tar.gz
freebsd-ports-graphics-4da0562e611372239f255eb64881b319a0ef47de.tar.zst
freebsd-ports-graphics-4da0562e611372239f255eb64881b319a0ef47de.zip
Add bsh 1.2.b3, a Java scripting environment.
PR: 34264 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Diffstat (limited to 'lang')
-rw-r--r--lang/bsh/Makefile28
-rw-r--r--lang/bsh/distinfo1
-rw-r--r--lang/bsh/pkg-comment1
-rw-r--r--lang/bsh/pkg-descr11
-rw-r--r--lang/bsh/pkg-plist3
5 files changed, 44 insertions, 0 deletions
diff --git a/lang/bsh/Makefile b/lang/bsh/Makefile
new file mode 100644
index 00000000000..bbd083ac060
--- /dev/null
+++ b/lang/bsh/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: bsh
+# Date created: 25 January 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bsh
+PORTVERSION= 1.2.b3
+CATEGORIES= java
+MASTER_SITES= http://www.beanshell.org/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
+EXTRACT_SUFX= .jar
+EXTRACT_ONLY=
+
+MAINTAINER= fuyuki@mj.0038.net
+
+RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
+
+NO_BUILD= yes
+
+JAVALIBDIR= ${PREFIX}/share/java/classes
+
+do-install:
+ ${MKDIR} ${JAVALIBDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVALIBDIR}/bsh.jar
+
+.include <bsd.port.mk>
diff --git a/lang/bsh/distinfo b/lang/bsh/distinfo
new file mode 100644
index 00000000000..13039e0e060
--- /dev/null
+++ b/lang/bsh/distinfo
@@ -0,0 +1 @@
+MD5 (bsh-1.2b3.jar) = f1f38799a4d347313822ed7a6effa5a7
diff --git a/lang/bsh/pkg-comment b/lang/bsh/pkg-comment
new file mode 100644
index 00000000000..33550770c30
--- /dev/null
+++ b/lang/bsh/pkg-comment
@@ -0,0 +1 @@
+A Java scripting environment
diff --git a/lang/bsh/pkg-descr b/lang/bsh/pkg-descr
new file mode 100644
index 00000000000..5bfc971b89e
--- /dev/null
+++ b/lang/bsh/pkg-descr
@@ -0,0 +1,11 @@
+BeanShell is a small, free, embeddable, Java source interpreter with
+object scripting language features, written in Java. BeanShell
+executes standard Java statements and expressions, in addition to
+obvious scripting commands and syntax. BeanShell supports scripted
+objects as simple method closures like those in Perl and
+JavaScript(tm).
+
+WWW: http://www.beanshell.org/
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/lang/bsh/pkg-plist b/lang/bsh/pkg-plist
new file mode 100644
index 00000000000..9712eb791b5
--- /dev/null
+++ b/lang/bsh/pkg-plist
@@ -0,0 +1,3 @@
+share/java/classes/bsh.jar
+@unexec rmdir %D/share/java/classes 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true