diff --git a/java/jgraphx/Makefile b/java/jgraphx/Makefile index b558875e55c7..d1b3e45d6484 100644 --- a/java/jgraphx/Makefile +++ b/java/jgraphx/Makefile @@ -1,34 +1,33 @@ PORTNAME= jgraphx PORTVERSION= 4.2.2 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= java graphics MAINTAINER= ports@FreeBSD.org COMMENT= Java Graph Diagram Component version X WWW= https://github.com/jgraph/jgraphx LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt USES= java:ant,run USE_GITHUB= yes GH_ACCOUNT= jgraph -JAVA_VERSION= 8 # math/scilab needs java 8 compatible classes NO_ARCH= yes PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar PORTDOCS= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .include diff --git a/java/jgraphx/files/patch-build.xml b/java/jgraphx/files/patch-build.xml new file mode 100644 index 000000000000..8bb26d7ca3d1 --- /dev/null +++ b/java/jgraphx/files/patch-build.xml @@ -0,0 +1,30 @@ +# math/scilab needs java 8 compatible classes + +--- build.xml.orig 2026-04-08 19:59:20 UTC ++++ build.xml +@@ -60,6 +60,8 @@ --> + debug="${compile.debug}" + deprecation="${compile.deprecation}" + optimize="${compile.optimize}" ++ source="8" ++ target="8" + destdir="${basedir}/classes"> + + +@@ -75,6 +77,7 @@ --> + classpath="${basedir}/classes" + destdir="${basedir}/docs/api" + use="true" ++ source="8" + author="false" + version="false" + windowtitle="${product.name} ${product.version} API Specification" +@@ -152,6 +155,8 @@ --> + + + + +