diff --git a/lang/bsh/Makefile b/lang/bsh/Makefile index 72e0a32f3b4f..bbb62c690997 100644 --- a/lang/bsh/Makefile +++ b/lang/bsh/Makefile @@ -1,34 +1,33 @@ PORTNAME= bsh DISTVERSION= 2.1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang java MAINTAINER= ports@FreeBSD.org COMMENT= Beanshell java scripting language WWW= http://www.beanshell.org/ LICENSE= APACHE20 USES= java:ant,run -JAVA_VERSION= 8 USE_GITHUB= yes GH_ACCOUNT= beanshell GH_PROJECT= beanshell CONFLICTS_INSTALL= schilyutils # bin/bsh ALL_TARGET= jarall 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 diff --git a/lang/bsh/files/patch-build.xml b/lang/bsh/files/patch-build.xml new file mode 100644 index 000000000000..fb1303b351b0 --- /dev/null +++ b/lang/bsh/files/patch-build.xml @@ -0,0 +1,44 @@ +--- build.xml.orig 2026-04-08 19:21:08 UTC ++++ build.xml +@@ -178,8 +178,8 @@ --> + debug="on" + includes="**/*.java" + excludes="${excludes},**/bak/**" +- source="1.6" +- target="1.6" ++ source="8" ++ target="8" + > + + +@@ -213,8 +213,8 @@ --> + debug="on" + includes="**/*.java" + excludes="${excludes},**/bak/**" +- source="1.6" +- target="1.6" ++ source="8" ++ target="8" + > + + +@@ -255,7 +255,7 @@ --> + destdir="${javadoc-dir}" + author="true" + version="true" +- source="1.6" ++ source="8" + use="true" + windowtitle="BeanShell ${version}" + doctitle="<h1>BeanShell ${version}<h1>" +@@ -680,8 +680,8 @@ --> + destdir="${build-dir}" + debug="on" + debuglevel="lines,vars,source" +- source="1.6" +- target="1.6" ++ source="8" ++ target="8" + > + +