Ticket #14420: patch-git-bash_completion.diff

File patch-git-bash_completion.diff, 604 bytes (added by raimue (Rainer Müller), 17 years ago)
  • Portfile

     
    7575    depends_run     port:subversion port:p5-libwww-perl port:p5-svn-simple port:p5-term-readkey
    7676}
    7777
     78variant bash_completion {
     79    depends_run-append  port:bash_completion
     80
     81    post-destroot {
     82        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
     83        xinstall -m 644 ${worksrcpath}/contrib/completion/git-completion.bash \
     84            ${destroot}${prefix}/etc/bash_completion.d/git
     85    }
     86}
     87
    7888default_variants    +doc
    7989