mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
38be25a47d
Approved by: portmgr (blanket)
34 lines
830 B
Makefile
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>
|