git: 6b30847584b8 - main - textproc/opensearch-dashboards: Add CHROME option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 02:16:58 UTC
The branch main has been updated by romain:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6b30847584b809c89526a2c9ea51beed963089d6
commit 6b30847584b809c89526a2c9ea51beed963089d6
Author: Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2021-12-11 02:10:58 +0000
Commit: Romain Tartière <romain@FreeBSD.org>
CommitDate: 2021-12-11 02:16:32 +0000
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
---
textproc/opensearch-dashboards/Makefile | 5 +++++
1 file changed, 5 insertions(+)
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: