source: trunk/dports/textproc/the_silver_searcher/Portfile @ 141241

Last change on this file since 141241 was 141241, checked in by g5pw@…, 4 years ago

textproc/the_silver_searcher:

update to 0.31
don't use github, as the developer-provided tarball has makefiles already provided
fixes #49034

  • 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 141241 2015-10-13 11:26:02Z g5pw@macports.org $
3
4PortSystem          1.0
5
6name                the_silver_searcher
7version             0.31.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  418158de9691425cd619d83eb3123e139e1d7465 \
20                    sha256  2b556d61a702d04e2638532aba08bccf178523b6a38464a25305563581823271
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.