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 129693 2014-12-18 22:57:41Z g5pw@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup ggreer the_silver_searcher 0.29.0 |
---|
8 | categories textproc |
---|
9 | maintainers g5pw openmaintainer |
---|
10 | platforms darwin |
---|
11 | license Apache-2.0 |
---|
12 | description A code-searching tool similar to ack, but faster. |
---|
13 | long_description \ |
---|
14 | An attempt to make something better than ack, which itself is better than grep. |
---|
15 | |
---|
16 | checksums rmd160 c69be8e6e19b30eba5de22824b9a5a3a72b3f5b6 \ |
---|
17 | sha256 e5a1b7b906a1b7e4c041545e0b91955ab2edac30d56bcd5e84e8e460935ff282 |
---|
18 | |
---|
19 | depends_build port:pkgconfig |
---|
20 | depends_lib port:pcre \ |
---|
21 | port:xz |
---|
22 | |
---|
23 | use_autoreconf yes |
---|
24 | |
---|
25 | build.args-append V=1 |
---|
26 | |
---|
27 | post-destroot { |
---|
28 | xinstall -d -m 755 ${destroot}${prefix}/share/bash-completion/completions |
---|
29 | move \ |
---|
30 | ${destroot}${prefix}/share/${name}/completions/ag.bashcomp.sh \ |
---|
31 | ${destroot}${prefix}/share/bash-completion/completions/ag |
---|
32 | } |
---|