aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2021-12-11 02:10:58 +0000
committerRomain Tartière <romain@FreeBSD.org>2021-12-11 02:16:32 +0000
commit6b30847584b809c89526a2c9ea51beed963089d6 (patch)
tree5f77b2261c99c03ac8a1c5e3e84805f0abad3f41
parentfca70e75bb04954ece4cf91489ee69a16befd5bf (diff)
downloadports-6b30847584b809c89526a2c9ea51beed963089d6.tar.gz
ports-6b30847584b809c89526a2c9ea51beed963089d6.zip
textproc/opensearch-dashboards: Add CHROME option
Chrome is required for generating reports. Add an option to make this more visible, but since the dependencies are large, do not enable it by default. PORTREVISION is kept unchanged since the default package is not modified. With hat: opensearch
-rw-r--r--textproc/opensearch-dashboards/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index 1f61a724594c..96f0135128ba 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -15,6 +15,11 @@ BUILD_DEPENDS= npm-node14>0:www/npm-node14
USES= nodejs:14,build,run python:build
USE_RC_SUBR= ${PORTNAME}
+OPTIONS_DEFINE= CHROME
+
+CHROME_DESC= Add dependency on www/chromium (required for PDF reports)
+CHROME_RUN_DEPENDS=chrome:www/chromium
+
_DEVDIR= ${WRKDIR}/.devdir
post-patch: