Ticket #26818: Portfile.3

File Portfile.3, 1.3 KB (added by gorticus (Jason Mitchell), 12 years ago)

few suggestions on Portfile.2

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$
3
4PortSystem              1.0
5PortGroup               github 1.0
6
7github.setup            bobthecow git-flow-completion 0.4.2
8
9name                    git-flow-bash-completion
10categories              devel
11maintainers             maiar.org:jason-macports openmaintainer
12license                 MIT
13
14description             Bash completion support for git-flow.
15
16long_description        The contained bash completion routines provide \
17                        support for completing: \
18                        \n\t* git-flow init and version \
19                        \n\t* feature, hotfix and release branches \
20                        \n\t* remote feature, hotfix and release branch names
21
22homepage                https://github.com/bobthecow/git-flow-completion
23
24fetch.type              git
25
26platforms               darwin
27supported_archs         noarch
28
29depends_run-append      port:git-flow \
30                        port:bash-completion
31
32universal_variant       no
33use_configure           no
34
35build {}
36
37destroot {
38  xinstall -d 0755 ${destroot}${prefix}/etc/bash_completion.d
39  copy ${worksrcpath}/git-flow-completion.bash ${destroot}${prefix}/etc/bash_completion.d/git-flow
40}