Hi list,

attached is a patch to update the_silver_searcher to 0.17. Upstream does
now provide proper release tarballs (so no more configure required), yet
the bash completion script still goes in the wrong place.

OK?

Regards,
Florian


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    20 Sep 2013 14:40:09 -0000      1.2
+++ Makefile    30 Sep 2013 15:38:33 -0000
@@ -1,10 +1,8 @@
 # $OpenBSD: Makefile,v 1.2 2013/09/20 14:40:09 bcallah Exp $
 
-V =            0.16
 COMMENT =      code searching tool, with a focus on speed (ag)
 
-DISTNAME =     the_silver_searcher-${V}
-DISTFILES =    the_silver_searcher-${V}.tar.gz{${V}.tar.gz}
+DISTNAME =     the_silver_searcher-0.17
 REVISION =     0
 CATEGORIES =   textproc
 
@@ -16,10 +14,7 @@ PERMIT_PACKAGE_CDROM =       Yes
 
 WANTLIB += c lzma pcre pthread z
 
-MASTER_SITES = https://github.com/ggreer/the_silver_searcher/archive/
-
-BUILD_DEPENDS =        ${MODGNU_AUTOCONF_DEPENDS} \
-               ${MODGNU_AUTOMAKE_DEPENDS}
+MASTER_SITES = http://geoff.greer.fm/ag/releases/
 
 LIB_DEPENDS =  archivers/xz \
                devel/pcre
@@ -28,14 +23,6 @@ CONFIGURE_STYLE =    gnu
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include"
 
 NO_TEST =      YES
-
-AUTOCONF_VERSION =     2.69
-AUTOMAKE_VERSION =     1.11
-
-pre-configure:
-       cd ${WRKSRC} && \
-               ${SETENV} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
-                       AUTOCONF_VERSION=${AUTOCONF_VERSION} autoreconf -i
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/ag ${PREFIX}/bin/ag
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    20 Sep 2013 14:40:09 -0000      1.2
+++ distinfo    30 Sep 2013 15:38:33 -0000
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.16.tar.gz) = 
K+JhsYp0rfQ1RRVUSn57/blwAFzh8Px49WpoAeYprac=
-SIZE (the_silver_searcher-0.16.tar.gz) = 45953
+SHA256 (the_silver_searcher-0.17.tar.gz) = 
y7cugGUTnfMvVnHxIcTUuHuDATpNia134zpHmoHWgUM=
+SIZE (the_silver_searcher-0.17.tar.gz) = 130524

Reply via email to