From 0835676e361bca74b28b09fe0425ed5ee958f26b Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 27 Dec 2024 20:10:41 +0100 Subject: 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= use USES=java and JAVA_VERSION= Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201 --- java/javahelp/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'java/javahelp/Makefile') diff --git a/java/javahelp/Makefile b/java/javahelp/Makefile index 49c2e3f1200c..534d644923d4 100644 --- a/java/javahelp/Makefile +++ b/java/javahelp/Makefile @@ -12,11 +12,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${TOMCAT_jsp}:${TOMCAT_PORT} +USES= java:ant USE_GITHUB= yes GH_ACCOUNT= javaee GH_TAGNAME= 3ca862d -USE_JAVA= yes -USE_ANT= yes TOMCAT_VER?= 9.0 TOMCAT_PORT= www/tomcat${TOMCAT_VER:S/.0//:S/.//} -- cgit v1.2.3