summaryrefslogtreecommitdiff
path: root/devel/arduino/Makefile
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 /devel/arduino/Makefile
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 'devel/arduino/Makefile')
-rw-r--r--devel/arduino/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/arduino/Makefile b/devel/arduino/Makefile
index 2ca921cc51f3..1186e5536f9d 100644
--- a/devel/arduino/Makefile
+++ b/devel/arduino/Makefile
@@ -21,13 +21,11 @@ RUN_DEPENDS= ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar:comms/rxtx \
${LOCALBASE}/avr/include/avr/io.h:devel/avr-libc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= dos2unix tar:tgz kmod
+USES= dos2unix java tar:tgz kmod
DOS2UNIX_REGEX= .*(\.(c|cpp|h|hex|txt)|Makefile|makefile)
-USE_JAVA= yes
JAVA_OS= native
JAVA_VENDOR= openjdk
-JAVA_RUN= yes
CONFLICTS_INSTALL= arduino18