aboutsummaryrefslogblamecommitdiff
path: root/sysutils/bfs/Makefile
blob: 3b777fd238b2e85b712d39d9ae9161763239cf2b (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
                     

                        
                                  


                                                              
                                 
 
                                

                                
                                             

                          
 
                                   
                     
 







                                                            

                                                 

                      
PORTNAME=	bfs
DISTVERSION=	2.4.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

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

.include <bsd.port.mk>