source: trunk/dports/textproc/the_silver_searcher/Portfile

Last change on this file was 149102, checked in by khindenburg@…, 18 months ago

the_silver_searcher: update to 0.32.0 #51500

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 149102 2016-05-30 12:55:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                the_silver_searcher
7version             0.32.0
8categories          textproc
9maintainers         g5pw openmaintainer
10platforms           darwin
11license             Apache-2
12description         A code-searching tool similar to ack, but faster.
13long_description    An attempt to make something better than ack, which \
14                    itself is better than grep.
15
16homepage            http://geoff.greer.fm/ag
17master_sites        ${homepage}/releases
18
19checksums           rmd160  0d0c37d45b3c037ace7ba8dd0b326ffbefe6977c \
20                    sha256  944ca77e498f344b2bfbd8df6d5d8df7bbc1c7e080b50c0bab3d1a9a55151b60
21
22depends_build       port:pkgconfig
23depends_lib         port:pcre \
24                    port:xz
25
26build.args-append   V=1
27
28post-destroot {
29    xinstall -d -m 755 ${destroot}${prefix}/share/bash-completion/completions
30    move \
31        ${destroot}${prefix}/share/${name}/completions/ag.bashcomp.sh \
32        ${destroot}${prefix}/share/bash-completion/completions/ag
33}
34
35livecheck.type      regex
36livecheck.url       ${homepage}
37livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.