diff options
author | Matthias Fechner <mfechner@FreeBSD.org> | 2021-11-01 21:51:07 +0000 |
---|---|---|
committer | Matthias Fechner <mfechner@FreeBSD.org> | 2021-11-12 05:54:51 +0000 |
commit | f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7 (patch) | |
tree | 7d94bef3f2597ae9fe71a4ed9e740a80cc3999c8 /textproc/opensearch-dashboards | |
parent | 46ce086c7130aedb8b349864afaf938489d070de (diff) | |
download | ports-f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7.tar.gz ports-f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7.zip |
*/*: use new nodejs USES flag
Simply define which nodejs version is required using the nodejs USES flag.
PR: 259783
Differential Revision: https://reviews.freebsd.org/D32790
Diffstat (limited to 'textproc/opensearch-dashboards')
-rw-r--r-- | textproc/opensearch-dashboards/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile index ae583c47b88f..b0c5963fbe65 100644 --- a/textproc/opensearch-dashboards/Makefile +++ b/textproc/opensearch-dashboards/Makefile @@ -1,5 +1,6 @@ PORTNAME= opensearch-dashboards DISTVERSION= 1.1.0 +PORTREVISION= 1 DISTVERSIONSUFFIX= -linux-x64 CATEGORIES= textproc www MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ @@ -10,11 +11,9 @@ COMMENT= Visualization dashboards for OpenSearch LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= node14>=14.17.0:www/node14 \ - npm-node14>0:www/npm-node14 -RUN_DEPENDS= node14>=14.17.0:www/node14 +BUILD_DEPENDS= npm-node14>0:www/npm-node14 -USES= python:build +USES= nodejs:14,build,run python:build USE_RC_SUBR= ${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |