aboutsummaryrefslogtreecommitdiff
path: root/lang/jruby
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-27 19:10:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-31 08:57:55 +0000
commit0835676e361bca74b28b09fe0425ed5ee958f26b (patch)
tree9617744fefea8689073e388ab345f23c6765b4fd /lang/jruby
parentfbd8f896fa0456bf9f0763402b0917b01fee1469 (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 'lang/jruby')
-rw-r--r--lang/jruby/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/jruby/Makefile b/lang/jruby/Makefile
index 60b4a66d276f..8f3eed80fb4e 100644
--- a/lang/jruby/Makefile
+++ b/lang/jruby/Makefile
@@ -13,10 +13,8 @@ LICENSE_COMB= dual
RUN_DEPENDS= bash:shells/bash
-USES= cpe
-USE_JAVA= yes
+USES= java cpe
-JAVA_VERSION= 8+
NO_BUILD= yes
JRUBY_HOME?= ${PREFIX}/share/${PORTNAME}