1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/textproc/the_silver_searcher/Makefile
Cy Schubert 38be25a47d textproc/the_silver_searcher: Move man page
Approved by:	portmgr (blanket)
2024-03-05 16:37:30 -08:00

34 lines
830 B
Makefile

PORTNAME= the_silver_searcher
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Code-searching tool similar to ack but faster
WWW= https://github.com/ggreer/the_silver_searcher
LICENSE= APACHE20
LIB_DEPENDS= libpcre.so:devel/pcre
TEST_DEPENDS= cram:devel/cram
USE_GITHUB= yes
GH_ACCOUNT= ggreer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= LZMA_LIBS=-llzma
CONFIGURE_ARGS+=LZMA_CFLAGS=-I/usr/include
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
LDFLAGS+= -L/usr/lib -llzma
USES= autoreconf pkgconfig
TEST_TARGET= test
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${MV} ${STAGEDIR}${DATADIR}/completions/ag.bashcomp.sh \
${STAGEDIR}${PREFIX}/etc/bash_completion.d
@${RMDIR} ${STAGEDIR}${DATADIR}/completions
@${RMDIR} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>