Ticket #39314: mercurial-2.6.2+bash-completion.patch
File mercurial-2.6.2+bash-completion.patch, 1.5 KB (added by robsonpeixoto@…, 11 years ago) |
---|
-
Portfile
5 5 PortGroup python 1.0 6 6 PortGroup bitbucket 1.0 7 7 8 bitbucket.setup mirror mercurial 2.6. 18 bitbucket.setup mirror mercurial 2.6.2 9 9 categories devel python 10 10 license GPL-2+ 11 11 maintainers deric sean … … 26 26 27 27 homepage http://www.selenic.com/mercurial/ 28 28 platforms darwin 29 checksums rmd160 84fd8b49cd776952f25891650cf23881fe9c5db8\30 sha256 099994afc109bc2c1a05bdd7e7ee9a6cba2d31172f045fcae5ef047e37835dc629 checksums rmd160 40dea321aee1cfd346888db9ba8dde9749e39fc5 \ 30 sha256 ec549bf3302bc1e80fa7dc698331c17729677672870653186dd0e5f938105df8 31 31 depends_run port:curl-ca-bundle 32 32 33 33 patchfiles patch-setup.py.diff … … 70 70 file copy ${worksrcpath}/contrib/hgk ${destroot}${prefix}/bin/hgk 71 71 72 72 if {[variant_isset bash_completion]} { 73 xinstall -d ${destroot}${prefix}/etc/bash_completion.d 74 copy ${worksrcpath}/contrib/bash_completion ${destroot}${prefix}/etc/bash_completion.d/mercurial 73 set completions_path ${destroot}${prefix}/share/bash-completion/completions 74 xinstall -d ${completions_path} 75 xinstall -m 644 ${worksrcpath}/contrib/bash_completion ${completions_path}/mercurial 75 76 } 76 77 77 78 if {[variant_isset zsh_completion]} {