git: 2f67a62603fa - main - sysutils/bfs: Update to 2.4.1

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Fri, 25 Feb 2022 18:43:28 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f67a62603fa8a01ae34649b0783c7538c8bf1fd

commit 2f67a62603fa8a01ae34649b0783c7538c8bf1fd
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2022-02-23 19:43:31 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2022-02-25 18:43:11 +0000

    sysutils/bfs: Update to 2.4.1
    
    Changes:        https://github.com/tavianator/bfs/releases/tag/2.4
    Changes:        https://github.com/tavianator/bfs/releases/tag/2.4.1
---
 sysutils/bfs/Makefile | 11 ++++++++++-
 sysutils/bfs/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/sysutils/bfs/Makefile b/sysutils/bfs/Makefile
index 34e68ee71cba..3b777fd238b2 100644
--- a/sysutils/bfs/Makefile
+++ b/sysutils/bfs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	bfs
-DISTVERSION=	2.3.1
+DISTVERSION=	2.4.1
 CATEGORIES=	sysutils
 
 MAINTAINER=	driesm@FreeBSD.org
@@ -8,6 +8,7 @@ COMMENT=	Breadth-first version of the UNIX find command
 LICENSE=	BSD0CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	bash:shells/bash
 TEST_DEPENDS=	bash:shells/bash
 
 USES=		compiler:c11 gmake shebangfix
@@ -17,6 +18,14 @@ GH_ACCOUNT=	tavianator
 SHEBANG_FILES=	tests.sh tests/*.sh
 TEST_TARGET=	check
 
+OPTIONS_DEFINE=		ONIGURUMA
+OPTIONS_DEFAULT=	ONIGURUMA
+
+ONIGURUMA_DESC=		Oniguruma regular expression support
+
+ONIGURUMA_LIB_DEPENDS=		libonig.so:devel/oniguruma
+ONIGURUMA_MAKE_ARGS_OFF=	WITH_ONIGURUMA=
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bfs
 
diff --git a/sysutils/bfs/distinfo b/sysutils/bfs/distinfo
index 2a72edd0cb29..569556b510ff 100644
--- a/sysutils/bfs/distinfo
+++ b/sysutils/bfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643218548
-SHA256 (tavianator-bfs-2.3.1_GH0.tar.gz) = c3ed60001804ca79a3794935ab6b9927bd14df42dc34e475b34d62929fcc5a98
-SIZE (tavianator-bfs-2.3.1_GH0.tar.gz) = 144084
+TIMESTAMP = 1645814355
+SHA256 (tavianator-bfs-2.4.1_GH0.tar.gz) = f9454ec57b4dac91a6e1548f70c9a4616c291b7ad310e6ca910a3bd71581721d
+SIZE (tavianator-bfs-2.4.1_GH0.tar.gz) = 149400