- Convert to staging

- Use new LIB_DEPENDS format
- convert some spaces to tabs to shut portlint up

PR:		ports/183175
Submitted by:	mat
Approved by:	maintainer
This commit is contained in:
Mathieu Arnold 2013-10-22 10:11:00 +00:00
parent 3e67e252e6
commit f572a22029
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331247
3 changed files with 6 additions and 8 deletions

View File

@ -9,7 +9,7 @@ CATEGORIES= textproc
MAINTAINER= gslin@gslin.org
COMMENT= A code-searching tool similar to ack but faster
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_GITHUB= yes
GH_ACCOUNT= ggreer
@ -21,15 +21,12 @@ AUTOMAKE_ARGS+= --add-missing
GNU_CONFIGURE= yes
CONFIGURE_ARGS= LZMA_LIBS=-llzma
.if exists(/usr/include/lzma.h)
CONFIGURE_ARGS+= LZMA_CFLAGS=-I/usr/include
CONFIGURE_ARGS+= LZMA_CFLAGS=-I/usr/include
.else
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
.endif
USE_AUTOTOOLS= aclocal autoconf autoheader automake
USES= pkgconfig
MAN1= ag.1
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
An attempt to make something better than ack, which itself is better than
grep.
WWW: https://github.com/ggreer/the_silver_searcher
WWW: https://github.com/ggreer/the_silver_searcher

View File

@ -1,4 +1,5 @@
bin/ag
man/man1/ag.1.gz
share/the_silver_searcher/completions/ag.bashcomp.sh
@dirrm share/the_silver_searcher/completions
@dirrm share/the_silver_searcher