[Midnightbsd-cvs] mports [20510] trunk/lang: add bsh

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 10 16:27:44 EDT 2015


Revision: 20510
          http://svnweb.midnightbsd.org/mports/?rev=20510
Author:   laffer1
Date:     2015-10-10 16:27:43 -0400 (Sat, 10 Oct 2015)
Log Message:
-----------
add bsh

Modified Paths:
--------------
    trunk/lang/Makefile

Added Paths:
-----------
    trunk/lang/bsh/
    trunk/lang/bsh/Makefile
    trunk/lang/bsh/distinfo
    trunk/lang/bsh/files/
    trunk/lang/bsh/files/bsh.sh.in
    trunk/lang/bsh/pkg-descr

Modified: trunk/lang/Makefile
===================================================================
--- trunk/lang/Makefile	2015-10-10 20:25:56 UTC (rev 20509)
+++ trunk/lang/Makefile	2015-10-10 20:27:43 UTC (rev 20510)
@@ -4,6 +4,7 @@
 
 SUBDIR += alisp
 SUBDIR += bcc
+SUBDIR += bsh
 SUBDIR += clang33
 SUBDIR += clang34
 SUBDIR += cython

Added: trunk/lang/bsh/Makefile
===================================================================
--- trunk/lang/bsh/Makefile	                        (rev 0)
+++ trunk/lang/bsh/Makefile	2015-10-10 20:27:43 UTC (rev 20510)
@@ -0,0 +1,37 @@
+# Created by: Kimura Fuyuki <fuyuki at mj.0038.net>
+# $FreeBSD: head/lang/bsh/Makefile 386097 2015-05-11 18:34:57Z mat $
+# $MidnightBSD$
+
+PORTNAME=	bsh
+DISTVERSION=	2.0b5
+CATEGORIES=	lang java
+MASTER_SITES=	http://svn.codespot.com/a/apache-extras.org/beanshell/src_releases/
+DISTNAME=	${PORTNAME}-${DISTVERSION}-src
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Java scripting language
+
+LICENSE=	apache2
+
+USES=		zip
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+
+USE_ANT=	yes
+ALL_TARGET=	jarall
+
+WRKSRC=		${WRKDIR}/BeanShell-${PORTVERSION:S/.b/b/}
+
+SUB_FILES=	${PORTNAME}.sh
+SUB_LIST=	JARNAME=${PORTNAME}.jar
+
+PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar \
+		bin/${PORTNAME}
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-${DISTVERSION}.jar \
+		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>


Property changes on: trunk/lang/bsh/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/bsh/distinfo
===================================================================
--- trunk/lang/bsh/distinfo	                        (rev 0)
+++ trunk/lang/bsh/distinfo	2015-10-10 20:27:43 UTC (rev 20510)
@@ -0,0 +1,2 @@
+SHA256 (bsh-2.0b5-src.zip) = 90993aa17a786996653fc5fcf148e879fb3689b8678f9ba99b376a5a13dff513
+SIZE (bsh-2.0b5-src.zip) = 1982036


Property changes on: trunk/lang/bsh/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/bsh/files/bsh.sh.in
===================================================================
--- trunk/lang/bsh/files/bsh.sh.in	                        (rev 0)
+++ trunk/lang/bsh/files/bsh.sh.in	2015-10-10 20:27:43 UTC (rev 20510)
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD: head/lang/bsh/files/bsh.sh.in 340872 2014-01-24 00:14:07Z mat $
+
+JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/%%JARNAME%%" "$@"


Property changes on: trunk/lang/bsh/files/bsh.sh.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lang/bsh/pkg-descr
===================================================================
--- trunk/lang/bsh/pkg-descr	                        (rev 0)
+++ trunk/lang/bsh/pkg-descr	2015-10-10 20:27:43 UTC (rev 20510)
@@ -0,0 +1,6 @@
+BeanShell is a small, free, embeddable Java source interpreter with object
+scripting language features, written in Java. BeanShell dynamically executes
+standard Java syntax and extends it with common scripting conveniences such as
+loose types, commands, and method closures like those in Perl and JavaScript.
+
+WWW: http://www.beanshell.org/


Property changes on: trunk/lang/bsh/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list