pkgsrc/textproc/the_silver_searcher/Makefile

22 lines
762 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2018/08/09 11:02:17 leot Exp $
DISTNAME= the_silver_searcher-2.2.0
CATEGORIES= textproc
MASTER_SITES= http://geoff.greer.fm/ag/releases/
MAINTAINER= leot@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
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= LZMA_CFLAGS=-I${BUILDLINK_PREFIX.xz}/include
CONFIGURE_ARGS+= LZMA_LIBS="-L${BUILDLINK_PREFIX.xz}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.xz}/lib -llzma"
USE_TOOLS+= pkg-config
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"