Ticket #46752: Portfile.2

File Portfile.2, 1.2 KB (added by jpo@…, 7 years ago)
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 129693 2014-12-18 22:57:41Z g5pw@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        ggreer the_silver_searcher 0.29.1
8revision            1
9categories          textproc
10maintainers         g5pw openmaintainer
11platforms           darwin
12license             Apache-2.0
13description         A code-searching tool similar to ack, but faster.
14long_description    \
15  An attempt to make something better than ack, which itself is better than grep.
16
17checksums           rmd160  a2d4fc179cbaa9acd0efd10e6a0d330fdb42d19d \
18                    sha256  7a6831894c3070a74861f3dca46dbca928573d0f157f138ca1568e7bb9173419
19
20depends_build       port:pkgconfig
21depends_lib         port:pcre \
22                    port:xz
23
24use_autoreconf      yes
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}