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.1 |
---|
8 | revision 1 |
---|
9 | categories textproc |
---|
10 | maintainers g5pw openmaintainer |
---|
11 | platforms darwin |
---|
12 | license Apache-2.0 |
---|
13 | description A code-searching tool similar to ack, but faster. |
---|
14 | long_description \ |
---|
15 | An attempt to make something better than ack, which itself is better than grep. |
---|
16 | |
---|
17 | checksums rmd160 a2d4fc179cbaa9acd0efd10e6a0d330fdb42d19d \ |
---|
18 | sha256 7a6831894c3070a74861f3dca46dbca928573d0f157f138ca1568e7bb9173419 |
---|
19 | |
---|
20 | depends_build port:pkgconfig |
---|
21 | depends_lib port:pcre \ |
---|
22 | port:xz |
---|
23 | |
---|
24 | use_autoreconf yes |
---|
25 | |
---|
26 | build.args-append V=1 |
---|
27 | |
---|
28 | post-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 | } |
---|