aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2013-10-11 17:51:25 +0800
committerknu <knu@FreeBSD.org>2013-10-11 17:51:25 +0800
commit67566e367621d09b005cb9465c5d70254553aed3 (patch)
treefa65bc5e42cedf01390db4c3d727cf6e41c8925a /textproc
parent389f5d5ebb7d9c9ed5a76423f576e1ce8be5141e (diff)
downloadfreebsd-ports-gnome-67566e367621d09b005cb9465c5d70254553aed3.tar.gz
freebsd-ports-gnome-67566e367621d09b005cb9465c5d70254553aed3.tar.zst
freebsd-ports-gnome-67566e367621d09b005cb9465c5d70254553aed3.zip
Update to 0.17
Approved by: maintainer timeout
Diffstat (limited to 'textproc')
-rw-r--r--textproc/the_silver_searcher/Makefile18
-rw-r--r--textproc/the_silver_searcher/distinfo4
-rw-r--r--textproc/the_silver_searcher/pkg-plist4
3 files changed, 20 insertions, 6 deletions
diff --git a/textproc/the_silver_searcher/Makefile b/textproc/the_silver_searcher/Makefile
index 497ffec96329..277923937a20 100644
--- a/textproc/the_silver_searcher/Makefile
+++ b/textproc/the_silver_searcher/Makefile
@@ -2,20 +2,30 @@
# $FreeBSD$
PORTNAME= the_silver_searcher
-PORTVERSION= 0.13.1
-PORTREVISION= 1
+PORTVERSION= 0.17
CATEGORIES= textproc
-MASTER_SITES= http://cloud.github.com/downloads/ggreer/${PORTNAME}/
+#MASTER_SITES= http://geoff.greer.fm/ag/releases/
MAINTAINER= gslin@gslin.org
COMMENT= A code-searching tool similar to ack but faster
LIB_DEPENDS= pcre:${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
-PLIST_FILES= bin/ag
+CONFIGURE_ARGS= LZMA_LIBS=-llzma
+.if exists(/usr/include/lzma.h)
+CONFIGURE_ARGS+= LZMA_CFLAGS=-I/usr/include
+.else
+LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
+CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
+.endif
USE_AUTOTOOLS= aclocal autoconf autoheader automake
USES= pkgconfig
diff --git a/textproc/the_silver_searcher/distinfo b/textproc/the_silver_searcher/distinfo
index 612685ba1014..92175df9496b 100644
--- a/textproc/the_silver_searcher/distinfo
+++ b/textproc/the_silver_searcher/distinfo
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.13.1.tar.gz) = 140ded2207259f670e4b866a68cc2577495b63844c7dae101f89078c6b37b6fc
-SIZE (the_silver_searcher-0.13.1.tar.gz) = 27728
+SHA256 (the_silver_searcher-0.17.tar.gz) = e9c25058a4c90359ed206386635b95f8c05a5a4f2c445baa7ac2df6c7808b780
+SIZE (the_silver_searcher-0.17.tar.gz) = 46294
diff --git a/textproc/the_silver_searcher/pkg-plist b/textproc/the_silver_searcher/pkg-plist
new file mode 100644
index 000000000000..69babcb02293
--- /dev/null
+++ b/textproc/the_silver_searcher/pkg-plist
@@ -0,0 +1,4 @@
+bin/ag
+share/the_silver_searcher/completions/ag.bashcomp.sh
+@dirrm share/the_silver_searcher/completions
+@dirrm share/the_silver_searcher