summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/aoi/Makefile4
-rw-r--r--graphics/batik/Makefile3
-rw-r--r--graphics/cbviewer/Makefile4
-rw-r--r--graphics/cosmoplayer/Makefile3
-rw-r--r--graphics/ditaa/Makefile3
-rw-r--r--graphics/geoapi/Makefile4
-rw-r--r--graphics/geoserver/Makefile4
-rw-r--r--graphics/jalbum/Makefile4
-rw-r--r--graphics/jave6/Makefile4
-rw-r--r--graphics/jdraw/Makefile3
-rw-r--r--graphics/jogamp-jogl/Makefile5
-rw-r--r--graphics/jogl/Makefile4
-rw-r--r--graphics/jpatch/Makefile4
-rw-r--r--graphics/libpano13/Makefile2
-rw-r--r--graphics/lightzone/Makefile6
-rw-r--r--graphics/mapyrus/Makefile3
-rw-r--r--graphics/ogre3d/Makefile2
-rw-r--r--graphics/opencv/Makefile2
-rw-r--r--graphics/opendx/Makefile2
-rw-r--r--graphics/openjump/Makefile4
-rw-r--r--graphics/plantuml/Makefile2
-rw-r--r--graphics/processing/Makefile4
-rw-r--r--graphics/tintfu/Makefile3
-rw-r--r--graphics/xmlgraphics-commons/Makefile2
-rw-r--r--graphics/yed/Makefile4
25 files changed, 36 insertions, 49 deletions
diff --git a/graphics/aoi/Makefile b/graphics/aoi/Makefile
index b99785a8efb3..539c1f4342f6 100644
--- a/graphics/aoi/Makefile
+++ b/graphics/aoi/Makefile
@@ -16,9 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjogl.so:graphics/jogl
-USES= zip
+USES= java zip
DOS2UNIX_FILES= ../AoI_Manual/*.html # USES=dos2unix is optional
-USE_JAVA= yes
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/ArtOfIllusion${PORTVERSION:S/.//g}
diff --git a/graphics/batik/Makefile b/graphics/batik/Makefile
index 41b68b6c9d0d..0156e547146d 100644
--- a/graphics/batik/Makefile
+++ b/graphics/batik/Makefile
@@ -13,8 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CPE_VENDOR= apache
-USES= cpe
-USE_JAVA= yes
+USES= cpe java
NO_ARCH= yes
NO_BUILD= yes
diff --git a/graphics/cbviewer/Makefile b/graphics/cbviewer/Makefile
index d85718031474..6f72e8ea4072 100644
--- a/graphics/cbviewer/Makefile
+++ b/graphics/cbviewer/Makefile
@@ -18,9 +18,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= unrar:archivers/unrar
-USES= dos2unix zip
+USES= dos2unix java zip
DOS2UNIX_GLOB= CREDITS
-USE_JAVA= yes
+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
diff --git a/graphics/cosmoplayer/Makefile b/graphics/cosmoplayer/Makefile
index b3218534e966..6ed9cb493d84 100644
--- a/graphics/cosmoplayer/Makefile
+++ b/graphics/cosmoplayer/Makefile
@@ -19,7 +19,8 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror auto-accept
RUN_DEPENDS= ${JAVALIBDIR}/java40.jar:devel/netscape-java40
-USE_JAVA= yes
+USES= java
+
NO_BUILD= yes
NO_ARCH= yes
diff --git a/graphics/ditaa/Makefile b/graphics/ditaa/Makefile
index c43594fb8dba..b42df371ad47 100644
--- a/graphics/ditaa/Makefile
+++ b/graphics/ditaa/Makefile
@@ -11,8 +11,7 @@ WWW= https://github.com/stathissideris/ditaa
LICENSE= LGPL3
-USES= zip
-USE_JAVA= yes
+USES= java zip
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
diff --git a/graphics/geoapi/Makefile b/graphics/geoapi/Makefile
index c7284c777bc9..b36344fbd450 100644
--- a/graphics/geoapi/Makefile
+++ b/graphics/geoapi/Makefile
@@ -8,10 +8,10 @@ MAINTAINER= wen@FreeBSD.org
COMMENT= Java interface API based upon OGC Standards
WWW= http://geoapi.sf.net
-USES= zip
+USES= java zip
+
NO_BUILD= yes
NO_ARCH= yes
-USE_JAVA= yes
NO_WRKSUBDIR= yes
JARFILES= geoapi-${PORTVERSION} jsr-275-0.9.3 geoapi-conformance-${PORTVERSION}
diff --git a/graphics/geoserver/Makefile b/graphics/geoserver/Makefile
index 805b7e5870e1..2b64604fedef 100644
--- a/graphics/geoserver/Makefile
+++ b/graphics/geoserver/Makefile
@@ -13,8 +13,8 @@ LICENSE= APACHE20 BSD2CLAUSE EPL GPLv2 GPLv3 MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/license/NOTICE.txt
-USES= cpe zip
-USE_JAVA= 17+
+USES= cpe java zip
+JAVA_VERSION= 17+
USE_RC_SUBR= ${PORTNAME}
NO_ARCH= yes
diff --git a/graphics/jalbum/Makefile b/graphics/jalbum/Makefile
index 0f62124e1067..2b7b911c0e87 100644
--- a/graphics/jalbum/Makefile
+++ b/graphics/jalbum/Makefile
@@ -10,10 +10,10 @@ WWW= http://jalbum.net/
WRKSRC= ${WRKDIR}/jAlbum
-USES= zip
+USES= java zip
+
NO_BUILD= yes
-USE_JAVA= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jalbum.sh
diff --git a/graphics/jave6/Makefile b/graphics/jave6/Makefile
index 7dd12b1660f9..f6697f858888 100644
--- a/graphics/jave6/Makefile
+++ b/graphics/jave6/Makefile
@@ -12,8 +12,8 @@ WWW= http://www.jave.de/
EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME}
-USES= zip
-USE_JAVA= yes
+USES= java zip
+
NO_BUILD= yes
SUB_FILES= jave6 pkg-message
diff --git a/graphics/jdraw/Makefile b/graphics/jdraw/Makefile
index d98d8a4124f4..05332416757e 100644
--- a/graphics/jdraw/Makefile
+++ b/graphics/jdraw/Makefile
@@ -11,8 +11,9 @@ MAINTAINER= nivit@FreeBSD.org
COMMENT= Pixel oriented graphics editor
WWW= https://jdraw.sourceforge.net
+USES= java
+
NO_BUILD= yes
-USE_JAVA= yes
OPTIONS_DEFINE= PLASTIC3D
OPTIONS_DEFAULT= PLASTIC3D
diff --git a/graphics/jogamp-jogl/Makefile b/graphics/jogamp-jogl/Makefile
index e3b7eebc4aa4..70165c543a60 100644
--- a/graphics/jogamp-jogl/Makefile
+++ b/graphics/jogamp-jogl/Makefile
@@ -17,10 +17,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt
ONLY_FOR_ARCHS= i386 amd64 powerpc64 powerpc64le
-USES= compiler tar:xz xorg
-
-USE_ANT= yes
-USE_JAVA= yes
+USES= compiler java:ant tar:xz xorg
USE_XORG= x11 xcursor xrandr xrender xxf86vm
PATCH_WRKSRC= ${WRKDIR}
diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile
index 6c4ccedbfd93..93d7db4c2939 100644
--- a/graphics/jogl/Makefile
+++ b/graphics/jogl/Makefile
@@ -26,13 +26,11 @@ ALL_TARGET= all
# jogl/make/build.xml
ONLY_FOR_ARCHS= i386 amd64
-USES= gl xorg zip
+USES= gl java:ant xorg zip
USE_XORG= x11 xau xdamage xdmcp xext xfixes xorgproto xt xxf86vm
USE_GL= gl
-USE_ANT= yes
USE_LDCONFIG= yes
USE_LOCALE= en_US.UTF-8
-USE_JAVA= yes
BUILD_WRKSRC= ${WRKSRC}/jogl/make
BUILD_BINPATH= ${WRKSRC}/bin
diff --git a/graphics/jpatch/Makefile b/graphics/jpatch/Makefile
index 194487d76068..180fd47c02cd 100644
--- a/graphics/jpatch/Makefile
+++ b/graphics/jpatch/Makefile
@@ -9,8 +9,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Spline based 3D modeling tool
WWW= http://www.jpatch.com
-USES= zip
-USE_JAVA= yes
+USES= java zip
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${DISTVERSION}
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile
index b379f1ef25f8..d99d4f83b568 100644
--- a/graphics/libpano13/Makefile
+++ b/graphics/libpano13/Makefile
@@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS JAVA SUITESPARSE
OPTIONS_DEFAULT= SUITESPARSE
SUITESPARSE_DESC= Use math/suitesparse for faster operation
OPTIONS_SUB= yes
-JAVA_USE= java=yes
+JAVA_USES= java
JAVA_CMAKE_BOOL= SUPPORT_JAVA_PROGRAMS
JAVA_VARS= JAVA_OS=native
SUITESPARSE_LIB_DEPENDS= \
diff --git a/graphics/lightzone/Makefile b/graphics/lightzone/Makefile
index dc628b8eb867..c9636f2a91f0 100644
--- a/graphics/lightzone/Makefile
+++ b/graphics/lightzone/Makefile
@@ -32,15 +32,11 @@ USE_GITHUB= yes
GH_ACCOUNT= ktgw0316
GH_PROJECT= LightZone
-USES= desktop-file-utils gmake gnome jpeg pkgconfig xorg
-USE_ANT= yes
-USE_JAVA= yes
+USES= desktop-file-utils gmake gnome java:ant,run jpeg pkgconfig xorg
USE_GCC= yes
USE_LDCONFIG= yes
USE_XORG= x11
JAVA_VENDOR= openjdk
-JAVA_BUILD= yes
-JAVA_RUN= yes
PATCH_WRKSRC= ${WRKSRC:H}
WRKSRC_SUBDIR= linux
diff --git a/graphics/mapyrus/Makefile b/graphics/mapyrus/Makefile
index fc9c1f9947f1..42336a28b988 100644
--- a/graphics/mapyrus/Makefile
+++ b/graphics/mapyrus/Makefile
@@ -24,8 +24,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
SUB_FILES= ${PORTNAME} pkg-message
SUB_LIST= MAPYRUSJAR=${MAPYRUSJAR}
-USES= zip
-USE_JAVA= yes
+USES= java zip
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index c2421d3331d6..e651361ed2fb 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -62,7 +62,7 @@ CSHARP_BUILD_DEPENDS= swig:devel/swig
JAVA_CMAKE_BOOL= OGRE_BUILD_COMPONENT_JAVA
JAVA_BUILD_DEPENDS= swig:devel/swig
JAVA_VARS= CMAKE_ARGS+=-DJAVA_HOME=${JAVA_HOME}
-JAVA_USE= JAVA=yes
+JAVA_USES= java
JAVA_BROKEN= error: incompatible types: SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t__iterator cannot be converted to Iterator
PYTHON_CMAKE_BOOL= OGRE_BUILD_COMPONENT_PYTHON
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 6c9547be445e..43cb9b427710 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -87,7 +87,7 @@ JAVA_DESC= Enable Java Support
JAVA_BUILD_DEPENDS= ant:devel/apache-ant
JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA
JAVA_MAKE_ENV= JAVACMD=${JAVA}
-JAVA_USE= JAVA=yes
+JAVA_USES= java
LTO_DESC= Enables Link Time Optimizations
LTO_CMAKE_BOOL= ENABLE_THIN_LTO
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index e572dbf6811b..a206cf4aeac3 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -54,7 +54,7 @@ CONFIGURE_ARGS+= --without-netcdf
.if defined(WITH_JAVA)
ONLY_FOR_ARCHS= i386
-USE_JAVA= yes
+USES+= java
BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer
RUN_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer
CONFIGURE_ARGS+= --with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar \
diff --git a/graphics/openjump/Makefile b/graphics/openjump/Makefile
index e83a6fdf848c..9250ba164d3b 100644
--- a/graphics/openjump/Makefile
+++ b/graphics/openjump/Makefile
@@ -29,9 +29,7 @@ LICENSE_PERMS_JAIDL= auto-accept
LICENSE_PERMS_JDOM= auto-accept
LICENSE_PERMS_JYTHON= auto-accept
-USES= zip
-USE_JAVA= yes
-JAVA_VERSION= 8+
+USES= java zip
NO_ARCH= yes
NO_BUILD= yes
diff --git a/graphics/plantuml/Makefile b/graphics/plantuml/Makefile
index 85b811e405fd..3553ff60e1e7 100644
--- a/graphics/plantuml/Makefile
+++ b/graphics/plantuml/Makefile
@@ -12,7 +12,7 @@ WWW= https://plantuml.com/
LICENSE= GPLv3
-USE_JAVA= yes
+USES= java
NO_ARCH= yes
NO_BUILD= yes
diff --git a/graphics/processing/Makefile b/graphics/processing/Makefile
index 8383b871a7d2..ccce1cc8618c 100644
--- a/graphics/processing/Makefile
+++ b/graphics/processing/Makefile
@@ -14,8 +14,8 @@ LICENSE= GPLv2
RUN_DEPENDS= jikes>=1.22:java/jikes \
${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar:comms/rxtx
-USES= cpe tar:tgz
-USE_JAVA= yes
+USES= cpe java tar:tgz
+
NO_BUILD= yes
SUB_FILES= processing
diff --git a/graphics/tintfu/Makefile b/graphics/tintfu/Makefile
index 814f25685c16..7303a9cef721 100644
--- a/graphics/tintfu/Makefile
+++ b/graphics/tintfu/Makefile
@@ -10,12 +10,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GraphViz .dot file editor
WWW= https://tintfu.sourceforge.net/
+USES= java
+
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
NO_BUILD= yes
-USE_JAVA= yes
PLIST_FILES= %%JAVAJARDIR%%/${DISTNAME}.jar \
bin/tintfu
diff --git a/graphics/xmlgraphics-commons/Makefile b/graphics/xmlgraphics-commons/Makefile
index 3bdb912a0b1f..ad963a60ec1b 100644
--- a/graphics/xmlgraphics-commons/Makefile
+++ b/graphics/xmlgraphics-commons/Makefile
@@ -12,7 +12,7 @@ WWW= https://xmlgraphics.apache.org/commons/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_JAVA= yes
+USES= java
NO_ARCH= yes
NO_BUILD= yes
diff --git a/graphics/yed/Makefile b/graphics/yed/Makefile
index f65174f59c2a..e4b11e3ea4de 100644
--- a/graphics/yed/Makefile
+++ b/graphics/yed/Makefile
@@ -15,10 +15,8 @@ LICENSE_TEXT= Description of the license can be obtained from the following URL:
# Downloading requires acceptance of license agreement
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
-USES= cpe zip
+USES= cpe java zip
CPE_VENDOR= yworks
-USE_JAVA= yes
-JAVA_VERSION= 8+
DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "Graphics;" false