git: ac7a7d6fe137 - main - Mk/Uses/java.mk: Runtime fix with USES=java:ant
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 14:43:39 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac7a7d6fe13746d1178035d7756c788f9ef9beb2
commit ac7a7d6fe13746d1178035d7756c788f9ef9beb2
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-31 14:23:29 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-31 14:39:30 +0000
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.
Thanks to vvd for carefully going through this.
Reported by: vvd
Approved by: portmgr (blanket)
---
audio/jid3lib/Makefile | 4 ++--
cad/sweethome3d/Makefile | 3 ++-
comms/java-simple-serial-connector/Makefile | 4 ++--
databases/cassandra3/Makefile | 3 ++-
databases/hsqldb/Makefile | 3 ++-
devel/arduino18/Makefile | 4 ++--
devel/charva/Makefile | 4 ++--
devel/doctorj/Makefile | 4 ++--
devel/flexdock/Makefile | 3 ++-
devel/jiic/Makefile | 3 ++-
devel/sabre/Makefile | 3 ++-
games/gogui/Makefile | 3 ++-
games/jchessboard/Makefile | 4 ++--
games/jin/Makefile | 4 ++--
games/lwjgl/Makefile | 6 +++---
games/lwjgl3/Makefile | 3 ++-
games/rocksndiamonds/Makefile | 5 ++---
games/stendhal/Makefile | 4 ++--
graphics/jogamp-jogl/Makefile | 4 ++--
graphics/jogl/Makefile | 4 ++--
java/apache-commons-beanutils/Makefile | 3 ++-
java/apache-commons-collections/Makefile | 3 ++-
java/apache-commons-httpclient/Makefile | 4 ++--
java/apache-commons-lang/Makefile | 3 ++-
java/aparapi/Makefile | 4 ++--
java/berkeley-db/Makefile | 4 ++--
java/bouncycastle/Makefile | 3 ++-
java/eclipse-ecj/Makefile | 4 ++--
java/jakarta-oro/Makefile | 4 ++--
java/jasmin/Makefile | 4 ++--
java/java-getopt/Makefile | 3 ++-
java/java3d/Makefile | 4 ++--
java/javahelp/Makefile | 4 ++--
java/javamail/Makefile | 3 ++-
java/jcalendar/Makefile | 3 ++-
java/jcommon/Makefile | 3 ++-
java/jdom/Makefile | 3 ++-
java/jfreechart/Makefile | 3 ++-
java/jgraphx/Makefile | 3 ++-
java/jump/Makefile | 4 ++--
java/jxgrabkey/Makefile | 4 ++--
java/openjfx14/Makefile | 2 +-
java/phpeclipse/Makefile | 4 ++--
lang/abcl/Makefile | 3 ++-
lang/bsh/Makefile | 3 ++-
lang/rhino/Makefile | 4 ++--
mail/davmail/Makefile | 3 ++-
math/apache-commons-math/Makefile | 4 ++--
math/jtransforms/Makefile | 3 ++-
misc/freeguide/Makefile | 4 ++--
misc/jbidwatcher/Makefile | 4 ++--
net-im/convey/Makefile | 4 ++--
net/jgroups/Makefile | 3 ++-
net/jsch/Makefile | 3 ++-
net/seda/Makefile | 4 ++--
print/pdf-renderer/Makefile | 3 ++-
print/pdftk/Makefile | 3 ++-
science/colt/Makefile | 4 ++--
science/jmol/Makefile | 3 ++-
security/xml-security/Makefile | 4 ++--
sysutils/direnv/Makefile | 2 ++
sysutils/javaservicewrapper/Makefile | 3 ++-
sysutils/openseachest/Makefile | 11 +++++------
textproc/fop/Makefile | 3 ++-
textproc/jalingo/Makefile | 4 ++--
textproc/jaxup/Makefile | 4 ++--
textproc/xincluder/Makefile | 4 ++--
textproc/xmlenc/Makefile | 4 ++--
68 files changed, 139 insertions(+), 109 deletions(-)
diff --git a/audio/jid3lib/Makefile b/audio/jid3lib/Makefile
index 73d7e79eafa7..8e1141afb3be 100644
--- a/audio/jid3lib/Makefile
+++ b/audio/jid3lib/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jid3lib
PORTVERSION= 0.5.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio java
MASTER_SITES= SF/javamusictag/${PORTNAME}/beta-dev6
@@ -8,7 +8,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java ID3 Tag Library
WWW= https://javamusictag.sourceforge.net/index.html
-USES= java:ant
+USES= java:ant,run
PLIST_FILES= %%JAVAJARDIR%%/jid3lib.jar
diff --git a/cad/sweethome3d/Makefile b/cad/sweethome3d/Makefile
index 43c98d237928..15d178e8feef 100644
--- a/cad/sweethome3d/Makefile
+++ b/cad/sweethome3d/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sweethome3d
PORTVERSION= 7.1
+PORTREVISION= 1
CATEGORIES= cad java
MASTER_SITES= SF/${PORTNAME}/SweetHome3D-source/${DISTNAME}/
DISTNAME= SweetHome3D-${PORTVERSION}-src
@@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.TXT
BUILD_DEPENDS= java3d>=0:java/java3d
RUN_DEPENDS= java3d>=0:java/java3d
-USES= cmake:indirect java:ant
+USES= cmake:indirect java:ant,run
JAVA_VERSION= 8
USE_GITHUB= nodefault
diff --git a/comms/java-simple-serial-connector/Makefile b/comms/java-simple-serial-connector/Makefile
index 9b4deec51d2c..535c30460c65 100644
--- a/comms/java-simple-serial-connector/Makefile
+++ b/comms/java-simple-serial-connector/Makefile
@@ -1,6 +1,6 @@
PORTNAME= java-simple-serial-connector
PORTVERSION= 2.8.0
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= comms java
@@ -10,7 +10,7 @@ WWW= https://github.com/scream3r/java-simple-serial-connector
LICENSE= LGPL3
-USES= java:ant
+USES= java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= scream3r
diff --git a/databases/cassandra3/Makefile b/databases/cassandra3/Makefile
index 649d5095dcd6..a42c169c0081 100644
--- a/databases/cassandra3/Makefile
+++ b/databases/cassandra3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cassandra
DISTVERSION= 3.11.14
+PORTREVISION= 1
CATEGORIES= databases java
MASTER_SITES= LOCAL/fernape:repo
PKGNAMESUFFIX= 3
@@ -17,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAV
bash>0:shells/bash \
git>0:devel/git
-USES= cpe java:ant python
+USES= cpe java:ant,run python
JAVA_VERSION= 8
JAVA_VENDOR= openjdk
CPE_VENDOR= apache
diff --git a/databases/hsqldb/Makefile b/databases/hsqldb/Makefile
index ef4c00882e31..5c93f69fba6a 100644
--- a/databases/hsqldb/Makefile
+++ b/databases/hsqldb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= hsqldb
PORTVERSION= 2.3.4
+PORTREVISION= 1
CATEGORIES= databases java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_2_3
@@ -9,7 +10,7 @@ WWW= https://hsqldb.org/
LICENSE= BSD3CLAUSE
-USES= java:ant zip
+USES= java:ant,run zip
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/build
diff --git a/devel/arduino18/Makefile b/devel/arduino18/Makefile
index 6205751b0e3c..f2b8b078fcd1 100644
--- a/devel/arduino18/Makefile
+++ b/devel/arduino18/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ${GH_PROJECT:tl}
PORTVERSION= 1.8.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel java
PKGNAMESUFFIX= 18
DIST_SUBDIR= ${PORTNAME}
@@ -48,7 +48,7 @@ GH_PROJECT= Arduino
GH_TUPLE+= ${BUNDLE_GH_ACCOUNT}:${blib}/linux/work/libraries/${blib:C/\:.*//}
.endfor
-USES= desktop-file-utils java:ant
+USES= desktop-file-utils java:ant,run
LIB_DIRS+= ${LOCALBASE}/lib ${LOCALBASE}/lib/jni
WRKSRC_SUBDIR= build
PATCH_WRKSRC= ${WRKSRC}/../
diff --git a/devel/charva/Makefile b/devel/charva/Makefile
index b22823768f31..e68cdb067b37 100644
--- a/devel/charva/Makefile
+++ b/devel/charva/Makefile
@@ -1,6 +1,6 @@
PORTNAME= charva
PORTVERSION= 1.1.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}
@@ -17,7 +17,7 @@ BROKEN_armv7= fails to compile: build.xml: compilation failed
OPTIONS_DEFINE= DOCS
-USES= dos2unix java:ant zip
+USES= dos2unix java:ant,run zip
DOS2UNIX_GLOB= build.xml Makefile.freebsd.txt *.c *.java
ALL_TARGET= clean makeDLL dist
diff --git a/devel/doctorj/Makefile b/devel/doctorj/Makefile
index a4bfbe9c4f79..04c2c9d8a5aa 100644
--- a/devel/doctorj/Makefile
+++ b/devel/doctorj/Makefile
@@ -1,6 +1,6 @@
PORTNAME= doctorj
PORTVERSION= 5.1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel java
MASTER_SITES= SF
@@ -8,7 +8,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for analyzing Java code and documentation
WWW= https://doctorj.sourceforge.net/
-USES= java:ant
+USES= java:ant,run
ALL_TARGET= jarfile
diff --git a/devel/flexdock/Makefile b/devel/flexdock/Makefile
index 1512daba59df..b879cf14a6d7 100644
--- a/devel/flexdock/Makefile
+++ b/devel/flexdock/Makefile
@@ -1,5 +1,6 @@
PORTNAME= flexdock
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://forge.scilab.org/index.php/p/${PORTNAME}/downloads/get/
@@ -10,7 +11,7 @@ WWW= https://forge.scilab.org/index.php/p/flexdock/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= java:ant
+USES= java:ant,run
ALL_TARGET= dist
NO_ARCH= yes
diff --git a/devel/jiic/Makefile b/devel/jiic/Makefile
index e37869b7875d..6ddb7c98ec9f 100644
--- a/devel/jiic/Makefile
+++ b/devel/jiic/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jiic
PORTVERSION= 20120110
+PORTREVISION= 1
CATEGORIES= devel multimedia java
MASTER_SITES= LOCAL/ale
@@ -12,7 +13,7 @@ LICENSE= LGPL21
BUILD_DEPENDS= ${JAVALIBDIR}/sabre.jar:devel/sabre
RUN_DEPENDS= ${JAVALIBDIR}/sabre.jar:devel/sabre
-USES= java:ant
+USES= java:ant,run
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
diff --git a/devel/sabre/Makefile b/devel/sabre/Makefile
index 609015a76cc0..bbbf2741ed57 100644
--- a/devel/sabre/Makefile
+++ b/devel/sabre/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sabre
PORTVERSION= 20100501
+PORTREVISION= 1
CATEGORIES= devel multimedia java
MASTER_SITES= SF/sabre-library
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
@@ -10,7 +11,7 @@ WWW= https://sabre-library.sourceforge.net/
LICENSE= LGPL21
-USES= dos2unix java:ant zip
+USES= dos2unix java:ant,run zip
WRKSRC= ${WRKDIR}/Simple\ API\ for\ Binary\ REpresentations\ \(SABRE\)
DOS2UNIX_GLOB= *.xml *.java
diff --git a/games/gogui/Makefile b/games/gogui/Makefile
index 45176813d770..e0573e77505b 100644
--- a/games/gogui/Makefile
+++ b/games/gogui/Makefile
@@ -1,6 +1,7 @@
PORTNAME= gogui
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.10
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= http://www.randelshofer.ch/quaqua/files/:quaqua
DISTFILES= quaqua-5.2.1.nested.zip:quaqua
@@ -17,7 +18,7 @@ BROKEN_aarch64= compilation fails: Internal Error (assembler_aarch64.hpp:237) ..
BUILD_DEPENDS= xsltproc:textproc/libxslt \
docbook-xsl>0:textproc/docbook-xsl
-USES= java:ant
+USES= java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= lemonsqueeze
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
index 5569aaa5f14c..3e37cec56593 100644
--- a/games/jchessboard/Makefile
+++ b/games/jchessboard/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jchessboard
PORTVERSION= 1.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= JChessBoard-${PORTVERSION}
@@ -11,7 +11,7 @@ WWW= https://jchessboard.sourceforge.net/
LICENSE= GPLv2
-USES= java:ant tar:tgz
+USES= java:ant,run tar:tgz
USE_LOCALE= en_US.ISO8859-1
NO_ARCH= yes
diff --git a/games/jin/Makefile b/games/jin/Makefile
index 86ec550ec5db..e11f27cba17a 100644
--- a/games/jin/Makefile
+++ b/games/jin/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jin
PORTVERSION= 2.14.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/src/free/jin/legal/copyright.txt
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${JAVAJARDIR}/bsh.jar:lang/bsh
-USES= dos2unix java:ant
+USES= dos2unix java:ant,run
DOS2UNIX_GLOB= *.java *.txt
MAKE_ARGS+= -lib ${JAVAJARDIR}/bsh.jar
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile
index f0cae29a644d..66c1b2a7d4d7 100644
--- a/games/lwjgl/Makefile
+++ b/games/lwjgl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= lwjgl
DISTVERSION= 2.9.4.20161208
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games java
MAINTAINER= freebsd@skinc.ru
@@ -15,9 +15,9 @@ BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \
${JAVAJARDIR}/jinput/jinput.jar:games/jinput
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= dos2unix java:ant xorg
+USES= dos2unix java:ant,run xorg
DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
-
+JAVA_VERSION= 8
USE_GITHUB= yes
GH_ACCOUNT= LWJGL
GH_TAGNAME= 2df01dd
diff --git a/games/lwjgl3/Makefile b/games/lwjgl3/Makefile
index 579f594393a9..5480df1610a6 100644
--- a/games/lwjgl3/Makefile
+++ b/games/lwjgl3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lwjgl
DISTVERSION= 3.3.5
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= https://repo1.maven.org/:source1
PKGNAMESUFFIX= 3
@@ -47,7 +48,7 @@ LIB_DEPENDS= libdraco.so:archivers/draco \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
-USES= gl gnome java:ant
+USES= gl gnome java:ant,run
JAVA_VERSION= 17+
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile
index 2dc5157d9412..ce99494bbc4a 100644
--- a/games/rocksndiamonds/Makefile
+++ b/games/rocksndiamonds/Makefile
@@ -1,6 +1,5 @@
PORTNAME= rocksndiamonds
-DISTVERSION= 3.3.1.2
-PORTREVISION= 7
+DISTVERSION= 4.0.0.0
CATEGORIES= games
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/:game \
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/:levels_artsoft \
@@ -24,7 +23,7 @@ WWW= https://www.artsoft.org/rocksndiamonds/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
+#LIB_DEPENDS= libsmpeg2.so:multimedia/smpeg2
EXTRACT_DEPENDS=${UNZIP_CMD}:archivers/unzip
USES= gmake gnome iconv sdl
diff --git a/games/stendhal/Makefile b/games/stendhal/Makefile
index 9eaa377fbafd..0677f98b89d1 100644
--- a/games/stendhal/Makefile
+++ b/games/stendhal/Makefile
@@ -1,6 +1,6 @@
PORTNAME= stendhal
PORTVERSION= 1.35
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONSUFFIX= -src
CATEGORIES= games java
MASTER_SITES= SF/arianne/${PORTNAME}/${PORTVERSION}/
@@ -12,7 +12,7 @@ WWW= https://stendhalgame.org/
LICENSE= BSD2CLAUSE GPLv2
LICENSE_COMB= multi
-USES= java:ant shebangfix
+USES= java:ant,run shebangfix
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/graphics/jogamp-jogl/Makefile b/graphics/jogamp-jogl/Makefile
index 70165c543a60..7a7b576ae55a 100644
--- a/graphics/jogamp-jogl/Makefile
+++ b/graphics/jogamp-jogl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jogamp-jogl
PORTVERSION= 2.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics devel java
MASTER_SITES= http://jogamp.org/deployment/jogamp-current/archive/Sources/ \
http://jogamp.org/deployment/v${PORTVERSION}/archive/Sources/
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt
ONLY_FOR_ARCHS= i386 amd64 powerpc64 powerpc64le
-USES= compiler java:ant tar:xz xorg
+USES= compiler java:ant,run tar:xz xorg
USE_XORG= x11 xcursor xrandr xrender xxf86vm
PATCH_WRKSRC= ${WRKDIR}
diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile
index 93d7db4c2939..bfcc3f16148e 100644
--- a/graphics/jogl/Makefile
+++ b/graphics/jogl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jogl
PORTVERSION= 1.1.1
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= graphics devel java
MASTER_SITES= http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/
EXTRACT_SUFX= -src.zip
@@ -26,7 +26,7 @@ ALL_TARGET= all
# jogl/make/build.xml
ONLY_FOR_ARCHS= i386 amd64
-USES= gl java:ant xorg zip
+USES= gl java:ant,run xorg zip
USE_XORG= x11 xau xdamage xdmcp xext xfixes xorgproto xt xxf86vm
USE_GL= gl
USE_LDCONFIG= yes
diff --git a/java/apache-commons-beanutils/Makefile b/java/apache-commons-beanutils/Makefile
index f769f930db5d..f6538aa7eed0 100644
--- a/java/apache-commons-beanutils/Makefile
+++ b/java/apache-commons-beanutils/Makefile
@@ -1,5 +1,6 @@
PORTNAME= commons-beanutils
PORTVERSION= 1.9.4
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_SOURCE
PKGNAMEPREFIX= apache-
@@ -16,7 +17,7 @@ BUILD_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \
RUN_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \
${JAVALIBDIR}/commons-collections.jar:java/apache-commons-collections
-USES= dos2unix java:ant
+USES= dos2unix java:ant,run
DOS2UNIX_FILES= build.xml
ALL_TARGET= dist
diff --git a/java/apache-commons-collections/Makefile b/java/apache-commons-collections/Makefile
index 6ace6f384c5f..4141b0f6560c 100644
--- a/java/apache-commons-collections/Makefile
+++ b/java/apache-commons-collections/Makefile
@@ -1,5 +1,6 @@
PORTNAME= commons-collections
PORTVERSION= 3.2.2
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_SOURCE
PKGNAMEPREFIX= apache-
@@ -12,7 +13,7 @@ WWW= https://commons.apache.org/proper/commons-collections/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= java:ant
+USES= java:ant,run
JAVA_VERSION= 8 11 17 18 19 20
ALL_TARGET= jar
diff --git a/java/apache-commons-httpclient/Makefile b/java/apache-commons-httpclient/Makefile
index daa4761944d7..fcb964cfcfbd 100644
--- a/java/apache-commons-httpclient/Makefile
+++ b/java/apache-commons-httpclient/Makefile
@@ -1,6 +1,6 @@
PORTNAME= commons-httpclient
DISTVERSION= 3.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java www
MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/source
PKGNAMEPREFIX= apache-
@@ -19,7 +19,7 @@ RUN_DEPENDS+= ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec
OPTIONS_DEFINE= DOCS
-USES+= cpe java:ant
+USES+= cpe java:ant,run
CPE_VENDOR= apache
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
diff --git a/java/apache-commons-lang/Makefile b/java/apache-commons-lang/Makefile
index 3b28e78661a8..867d66bdc501 100644
--- a/java/apache-commons-lang/Makefile
+++ b/java/apache-commons-lang/Makefile
@@ -1,5 +1,6 @@
PORTNAME= commons-lang
PORTVERSION= 2.6
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_SOURCE
PKGNAMEPREFIX= apache-
@@ -11,7 +12,7 @@ WWW= https://commons.apache.org/proper/commons-lang/
LICENSE= APACHE20
-USES= java:ant
+USES= java:ant,run
JAVA_VERSION= 8
ALL_TARGET= jar
diff --git a/java/aparapi/Makefile b/java/aparapi/Makefile
index 399b240348ed..9fcbe5a6506d 100644
--- a/java/aparapi/Makefile
+++ b/java/aparapi/Makefile
@@ -1,6 +1,6 @@
PORTNAME= aparapi
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONSUFFIX= -SNAPSHOT
CATEGORIES= java lang
@@ -15,7 +15,7 @@ BUILD_DEPENDS= opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
RUN_DEPENDS= opencl>=0:devel/opencl
-USES= dos2unix java:ant
+USES= dos2unix java:ant,run
USE_GITHUB= yes
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
diff --git a/java/berkeley-db/Makefile b/java/berkeley-db/Makefile
index 7ea0634ebfc7..30f7a175823b 100644
--- a/java/berkeley-db/Makefile
+++ b/java/berkeley-db/Makefile
@@ -1,6 +1,6 @@
PORTNAME= je
PORTVERSION= 7.5.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java databases
MASTER_SITES= http://download.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit
-USES= java:ant
+USES= java:ant,run
JAVA_VERSION= 8
OPTIONS_DEFINE= DOCS EXAMPLES TEST
diff --git a/java/bouncycastle/Makefile b/java/bouncycastle/Makefile
index 69ef85657dd9..cc8a0c788ad5 100644
--- a/java/bouncycastle/Makefile
+++ b/java/bouncycastle/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bouncycastle
DISTVERSION= 1.71
+PORTREVISION= 1
CATEGORIES= java security
MASTER_SITES= http://www.bouncycastle.org/download/ \
http://polydistortion.net/bc/download/
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit \
${JAVALIBDIR}/mail.jar:java/javamail
RUN_DEPENDS= ${JAVALIBDIR}/mail.jar:java/javamail
-USES= cpe java:ant
+USES= cpe java:ant,run
CPE_VENDOR= ${PORTNAME}
CPE_PRODUCT= legion-of-the-bouncy-castle-java-crytography-api
diff --git a/java/eclipse-ecj/Makefile b/java/eclipse-ecj/Makefile
index 4c6a7f1353b8..95542fb49d3d 100644
--- a/java/eclipse-ecj/Makefile
+++ b/java/eclipse-ecj/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ecj
PORTVERSION= 4.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= http://download.eclipse.org/eclipse/downloads/drops4/R-${PORTVERSION}-${DROPDATE}/
PKGNAMEPREFIX= eclipse-
@@ -17,7 +17,7 @@ EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= xf
EXTRACT_AFTER_ARGS= -C ${WRKSRC}
-USES= java:ant
+USES= java:ant,run
JAVA_VERSION= 8
SUB_FILES= ecj.sh
diff --git a/java/jakarta-oro/Makefile b/java/jakarta-oro/Makefile
index 39ec28541e75..5e964b1d4e99 100644
--- a/java/jakarta-oro/Makefile
+++ b/java/jakarta-oro/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jakarta-oro
PORTVERSION= 2.0.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java
MASTER_SITES= http://archive.apache.org/dist/jakarta/oro/
@@ -10,7 +10,7 @@ WWW= https://jakarta.apache.org/oro/
LICENSE= APACHE20
-USES= java:ant
+USES= java:ant,run
ALL_TARGET= jar javadocs
diff --git a/java/jasmin/Makefile b/java/jasmin/Makefile
index 58071fb6ef9e..86743f1f3924 100644
--- a/java/jasmin/Makefile
+++ b/java/jasmin/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jasmin
PORTVERSION= 2.4
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= java lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -9,7 +9,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java Assembler Interface
WWW= https://jasmin.sourceforge.net/
-USES= dos2unix java:ant zip
+USES= dos2unix java:ant,run zip
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)
JAVA_VERSION= 8
diff --git a/java/java-getopt/Makefile b/java/java-getopt/Makefile
index 2334ab62b98a..c85c6b48e514 100644
--- a/java/java-getopt/Makefile
+++ b/java/java-getopt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= java-getopt
PORTVERSION= 1.0.14
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://www.urbanophile.com/arenn/hacking/getopt/
@@ -9,7 +10,7 @@ WWW= https://www.urbanophile.com/arenn/hacking/download.html #getopt
LICENSE= LGPL20
-USES= java:ant
+USES= java:ant,run
OPTIONS_DEFINE= DOCS
diff --git a/java/java3d/Makefile b/java/java3d/Makefile
index 84d35ee5c33e..54ce86120836 100644
--- a/java/java3d/Makefile
+++ b/java/java3d/Makefile
@@ -1,6 +1,6 @@
PORTNAME= java3d
PORTVERSION= 1.5.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= java graphics games devel
MASTER_SITES= https://sites.google.com/site/daemonwizard/
@@ -15,7 +15,7 @@ BROKEN_aarch64= fails to compile: GVector.java:168: bad use of '>'
BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details
BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details
-USES= compiler:c11 gl java:ant tar:bzip2 xorg
+USES= compiler:c11 gl java:ant,run tar:bzip2 xorg
JAVA_VERSION= 8
USE_GL= gl
USE_XORG= xt
diff --git a/java/javahelp/Makefile b/java/javahelp/Makefile
index 534d644923d4..5f8e8f278f21 100644
--- a/java/javahelp/Makefile
+++ b/java/javahelp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= javahelp
PORTVERSION= 2.0.05.20170719
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java devel
MAINTAINER= ports@FreeBSD.org
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${TOMCAT_jsp}:${TOMCAT_PORT}
-USES= java:ant
+USES= java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= javaee
GH_TAGNAME= 3ca862d
diff --git a/java/javamail/Makefile b/java/javamail/Makefile
index bde326cd08b8..39d424b0dc1a 100644
--- a/java/javamail/Makefile
+++ b/java/javamail/Makefile
@@ -1,6 +1,7 @@
PORTNAME= javamail
DISTVERSIONPREFIX= ${PORTNAME:tu}-
DISTVERSION= 1_6_2
+PORTREVISION= 1
CATEGORIES= java mail
MAINTAINER= ale@FreeBSD.org
@@ -12,7 +13,7 @@ LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS EXAMPLES
-USES= cpe java:ant
+USES= cpe java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= javaee
CPE_VENDOR= sun
diff --git a/java/jcalendar/Makefile b/java/jcalendar/Makefile
index 435f3c7341ad..e008d24303bd 100644
--- a/java/jcalendar/Makefile
+++ b/java/jcalendar/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jcalendar
PORTVERSION= 1.3.3
+PORTREVISION= 1
CATEGORIES= java misc
MASTER_SITES= http://www.toedter.com/download/
@@ -7,7 +8,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java Date Chooser
WWW= https://www.toedter.com/en/jcalendar/
-USES= java:ant zip
+USES= java:ant,run zip
JAVA_VERSION= 8
WRKSRC= ${WRKDIR}/src
diff --git a/java/jcommon/Makefile b/java/jcommon/Makefile
index 8cf39476d28c..4945642dac81 100644
--- a/java/jcommon/Makefile
+++ b/java/jcommon/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jcommon
PORTVERSION= 1.0.23
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= SF/jfreechart/3.%20JCommon/${PORTVERSION}
@@ -15,7 +16,7 @@ OPTIONS_DEFINE= COMPILE DOCS
OPTIONS_DEFAULT=COMPILE
COMPILE_DESC= Build from source
-COMPILE_USES= java:ant
+COMPILE_USES= java:ant,run
COMPILE_USES_OFF= java
COMPILE_VARS_OFF= NO_BUILD=yes
COMPILE_ALL_TARGET= compile-xml
diff --git a/java/jdom/Makefile b/java/jdom/Makefile
index 45c6bb5d7f74..00d939458131 100644
--- a/java/jdom/Makefile
+++ b/java/jdom/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jdom
PORTVERSION= 1.1.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= java textproc
MASTER_SITES= http://www.jdom.org/dist/source/
@@ -10,7 +11,7 @@ WWW= http://www.jdom.org/
RUN_DEPENDS= ${JAVALIBDIR}/jaxen-jdom.jar:java/jaxen
-USES= java:ant
+USES= java:ant,run
JAVA_VERSION= 8
ALL_TARGET= package
diff --git a/java/jfreechart/Makefile b/java/jfreechart/Makefile
index 289f5fe8f09b..0e7513489ebf 100644
--- a/java/jfreechart/Makefile
+++ b/java/jfreechart/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jfreechart
PORTVERSION= 1.0.17
+PORTREVISION= 1
CATEGORIES= java graphics
MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION}
@@ -16,7 +17,7 @@ OPTIONS_DEFAULT=COMPILE
COMPILE_DESC= Build from source
-COMPILE_USES= java:ant
+COMPILE_USES= java:ant,run
COMPILE_USES_OFF= java
COMPILE_USE= LOCALE=en_US.UTF-8
COMPILE_ALL_TARGET= compile
diff --git a/java/jgraphx/Makefile b/java/jgraphx/Makefile
index bb077927e774..b5e67f4e439d 100644
--- a/java/jgraphx/Makefile
+++ b/java/jgraphx/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jgraphx
PORTVERSION= 4.2.2
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= java graphics
@@ -10,7 +11,7 @@ WWW= https://github.com/jgraph/jgraphx
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
-USES= java:ant
+USES= java:ant,run
USE_GITHUB= yes
GH_ACCOUNT= jgraph
diff --git a/java/jump/Makefile b/java/jump/Makefile
index ab744c5742c9..dff277bd8398 100644
--- a/java/jump/Makefile
+++ b/java/jump/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jump
PORTVERSION= 0.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java math
MASTER_SITES= SF/${PORTNAME}-math/${PORTNAME}/${PORTVERSION}
@@ -8,7 +8,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java library for arbitrary precision computations
WWW= https://jump-math.sourceforge.net/
-USES= java:ant
+USES= java:ant,run
ALL_TARGET= jar
diff --git a/java/jxgrabkey/Makefile b/java/jxgrabkey/Makefile
index 705742ca35b5..6db3918c613e 100644
--- a/java/jxgrabkey/Makefile
+++ b/java/jxgrabkey/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jxgrabkey
PORTVERSION= 0.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= SF
DISTFILES= ${PORTNAME}-${PORTVERSION}_src${EXTRACT_SUFX}
@@ -11,7 +11,7 @@ WWW= https://jxgrabkey.sourceforge.net/
LICENSE= LGPL3
-USES= java:ant tar:bz2
+USES= java:ant,run tar:bz2
OPTIONS_DEFINE= TEST
diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile
index cc313f7386bd..312e2b09901f 100644
--- a/java/openjfx14/Makefile
+++ b/java/openjfx14/Makefile
@@ -33,7 +33,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= gettext-runtime gl gnome java jpeg localbase:ldflags ninja pkgconfig \
+USES= gettext-runtime gl gnome java jpeg localbase:ldflags ninja pkgconfig \
sqlite xorg
USE_GITHUB= yes
diff --git a/java/phpeclipse/Makefile b/java/phpeclipse/Makefile
index 1ec7d26628f3..cbebe25fd990 100644
--- a/java/phpeclipse/Makefile
+++ b/java/phpeclipse/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phpeclipse
PORTVERSION= 1.2.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= java editors devel
MASTER_SITES= SF/${PORTNAME}/a%29%20Eclipse%203.3.x/PHPEclipse-${PORTVERSION}
DISTNAME= PHPEclipse-${PLIST_VER}-src
@@ -14,7 +14,7 @@ RUN_DEPENDS= eclipse:java/eclipse
PLUGIN_PATHS= features plugins
PATCH_TASKS= eclipse.versionReplacer eclipse.idReplacer
-USES= java:ant zip:infozip
+USES= java:ant,run zip:infozip
WRKSRC= ${WRKDIR}/dist
ECLIPSE= lib/eclipse
diff --git a/lang/abcl/Makefile b/lang/abcl/Makefile
index 669a26bebd7d..d2ffd65d9d6f 100644
--- a/lang/abcl/Makefile
+++ b/lang/abcl/Makefile
@@ -1,5 +1,6 @@
PORTNAME= abcl
PORTVERSION= 1.9.2
+PORTREVISION= 1
CATEGORIES= lang lisp java
MASTER_SITES= http://abcl.org/releases/${PORTVERSION}/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
@@ -11,7 +12,7 @@ WWW= https://common-lisp.net/project/armedbear/
BROKEN_armv6= fails to build: build.xml: Java returned: 1
*** 508 LINES SKIPPED ***