Why use ag? * It searches through code about 3x-5x faster than ack. * It ignores files matched by patterns in your .gitignore and .hgignore. * If there are files in your source repo that you don't want to search, just add their patterns to a .agignore file. * It's written in C instead of perl, the lesser of two evils :) * The binary name is 33% shorter than ack!
22 lines
610 B
Makefile
22 lines
610 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/04/13 11:32:58 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= the_silver_searcher-0.5
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://cloud.github.com/downloads/ggreer/the_silver_searcher/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/ggreer/the_silver_searcher
|
|
COMMENT= Attempt to improve on ack, which itself is better than grep
|
|
LICENSE= apache-2.0
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= aclocal autoheader autoconf automake pkg-config
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && sh build.sh
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|