summaryrefslogtreecommitdiff
path: root/java/eclipse
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-27 20:10:41 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-31 09:57:55 +0100
commit0835676e361bca74b28b09fe0425ed5ee958f26b (patch)
tree9617744fefea8689073e388ab345f23c6765b4fd /java/eclipse
parentsecurity/libtatsu: Update to 1.0.4 (diff)
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile4
-rw-r--r--java/eclipse/Makefile.plugins2
2 files changed, 3 insertions, 3 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index 334df5b9e393..8812f59b27d9 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -20,7 +20,8 @@ BUILD_DEPENDS= git:devel/git \
LIB_DEPENDS= libsecret-1.so:security/libsecret \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
-USES= compiler:c++17-lang gl gmake pkgconfig gnome
+USES= compiler:c++17-lang gl gmake java pkgconfig gnome
+JAVA_VERSION= 17+
# The github repositories. The repository under NorbertXYZ is for a predefined maven
# download, so the build does not need to download while do-build is running
@@ -41,7 +42,6 @@ GH_TUPLE= chirontt:eclipse.platform.releng.aggregator:${ECLIPSE_TAG}_maintenance
NorbertXYZ:eclipse_maven:${DISTVERSION}:n
USE_GL= gl glu
USE_GNOME= gtk30
-USE_JAVA= 17+
DESKTOP_ENTRIES= "Eclipse" \
"${COMMENT}" \
diff --git a/java/eclipse/Makefile.plugins b/java/eclipse/Makefile.plugins
index 7be6d921e0f0..2d54cbe0aa77 100644
--- a/java/eclipse/Makefile.plugins
+++ b/java/eclipse/Makefile.plugins
@@ -1,5 +1,5 @@
NO_BUILD= yes
-USE_JAVA= yes
+USES+= java
JAVA_VERSION= 17+
REPO_DIRS?= features plugins