freebsd-ports/sysutils/bfs/Makefile

33 lines
710 B
Makefile

PORTNAME= bfs
DISTVERSION= 3.1.1
CATEGORIES= sysutils
MAINTAINER= driesm@FreeBSD.org
COMMENT= Breadth-first version of the UNIX find command
WWW= https://github.com/tavianator/bfs
LICENSE= BSD0CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
TEST_DEPENDS= bash:shells/bash
USES= compiler:c++17-lang gmake shebangfix
USE_GITHUB= yes
GH_ACCOUNT= tavianator
MAKEFILE= GNUmakefile
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>