Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2021 02:16:58 GMT
From:      =?utf-8?Q?Romain Tarti=C3=A8re?= <romain@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b30847584b8 - main - textproc/opensearch-dashboards: Add CHROME option
Message-ID:  <202112110216.1BB2GwSX065020@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112110216.1BB2GwSX065020>