diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-12-27 20:10:41 +0100 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-12-31 09:57:55 +0100 |
| commit | 0835676e361bca74b28b09fe0425ed5ee958f26b (patch) | |
| tree | 9617744fefea8689073e388ab345f23c6765b4fd /java/avis | |
| parent | security/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/avis')
| -rw-r--r-- | java/avis/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/avis/Makefile b/java/avis/Makefile index b7a874acb82e..fbe28d0a04f5 100644 --- a/java/avis/Makefile +++ b/java/avis/Makefile @@ -10,7 +10,7 @@ COMMENT= Elvin Publish/Subscribe Message Bus server based on the Elvin protocol WWW= https://avis.sourceforge.net/ USES= zip -USE_JAVA= yes + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .if !defined(WITHOUT_COMPILE) @@ -18,7 +18,9 @@ BUILD_DEPENDS+= ${ANT_CMD}:devel/apache-ant ANT_CMD?= ${LOCALBASE}/bin/ant ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD} ANT_TARGETS= jar-server -JAVA_BUILD= yes +USES+= java:build +.else +USES+= java .endif OPTIONS_DEFINE= DOCS |
