blob: 456fee36d8beb6472844356bf2c4fa3205bd422e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= the_silver_searcher
PORTVERSION= 0.17
CATEGORIES= textproc
#MASTER_SITES= http://geoff.greer.fm/ag/releases/
MAINTAINER= gslin@gslin.org
COMMENT= A code-searching tool similar to ack but faster
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_GITHUB= yes
GH_ACCOUNT= ggreer
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= b0afccd
ACLOCAL_ARGS+= -I ${ACLOCAL_DIR}
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
.else
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
.endif
USE_AUTOTOOLS= aclocal autoconf autoheader automake
USES= pkgconfig
.include <bsd.port.mk>
|