aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bfs/Makefile
blob: a0376105a58751716a91a99a88a90d888eb51b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	bfs
DISTVERSION=	2.6.1
CATEGORIES=	sysutils

MAINTAINER=	driesm@FreeBSD.org
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
USE_GITHUB=	yes
GH_ACCOUNT=	tavianator

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

.include <bsd.port.mk>