summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-12-06 13:41:44 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-12-06 13:41:44 +0000
commitf1d2d698cb7deaf0db5f65308d75220b271edab7 (patch)
treea2fc467232013e3965596c0b0101820ff9d7fae1 /lang
parentUpdate to version 2.0.0 (diff)
- Update to version 2.0.b5
- Add LICENSE PR: 194887 Submitted by: pfg
Notes
Notes: svn path=/head/; revision=374105
Diffstat (limited to 'lang')
-rw-r--r--lang/bsh/Makefile20
-rw-r--r--lang/bsh/distinfo4
2 files changed, 14 insertions, 10 deletions
diff --git a/lang/bsh/Makefile b/lang/bsh/Makefile
index 80d250fc7402..14c56ed07615 100644
--- a/lang/bsh/Makefile
+++ b/lang/bsh/Makefile
@@ -2,20 +2,24 @@
# $FreeBSD$
PORTNAME= bsh
-PORTVERSION= 2.0.b4
-PORTREVISION= 6
+PORTVERSION= 2.0.b5
CATEGORIES= lang java
-MASTER_SITES= http://www.beanshell.org/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
-EXTRACT_SUFX= .jar
-EXTRACT_ONLY=
+MASTER_SITES= http://svn.codespot.com/a/apache-extras.org/beanshell/src_releases/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Java scripting language
+LICENSE= APACHE20
+
+USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
-NO_BUILD= yes
+
+USE_ANT= yes
+ALL_TARGET= jarall
+
+WRKSRC= ${WRKDIR}/BeanShell-${PORTVERSION:S/.b/b/}
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= JARNAME=${PORTNAME}.jar
@@ -24,7 +28,7 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
bin/${PORTNAME}
do-install:
- ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
+ ${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-${PORTVERSION:S/.b/b/}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/lang/bsh/distinfo b/lang/bsh/distinfo
index f63b466db98f..9fd901317d18 100644
--- a/lang/bsh/distinfo
+++ b/lang/bsh/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bsh-2.0b4.jar) = 91395c07885839a8c6986d5b7c577cd9bacf01bf129c89141f35e8ea858427b6
-SIZE (bsh-2.0b4.jar) = 281694
+SHA256 (bsh-2.0b5-src.zip) = 90993aa17a786996653fc5fcf148e879fb3689b8678f9ba99b376a5a13dff513
+SIZE (bsh-2.0b5-src.zip) = 1982036