Ticket #46752: Portfile

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