Ticket #39310: hub-1.10.6+bash-completion.patch
File hub-1.10.6+bash-completion.patch, 1.6 KB (added by robsonpeixoto@…, 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup defunkt hub 1.10. 4v7 github.setup defunkt hub 1.10.6 v 8 8 description git-wrapper for GitHub specific functionality 9 9 long_description hub is a command line utility which adds GitHub knowledge to git.\ 10 10 It can be used on its own or as a git wrapper. … … 16 16 17 17 homepage http://defunkt.io/hub/ 18 18 19 checksums rmd160 63c95c572187eaa08f737dfeb41bf5d7767d0907\20 sha256 13ef06c55573fe159be3ae6f3ee92522e0e094e4a4e2f8eb06ca4052eace55ec19 checksums rmd160 ccde1711f3a3a9e70d8ca9353cb705d0f9a51883 \ 20 sha256 2848e28efaddb6c69686fdc527ae5117a5248f51d7ca1578e70a10859b3e5894 21 21 22 22 depends_build bin:rake:rb-rake 23 23 … … 32 32 post-destroot { 33 33 set bash-completions ${destroot}${prefix}/etc/bash_completion.d 34 34 xinstall -d ${bash-completions} 35 xinstall ${worksrcpath}/etc/hub.bash_completion.sh ${destroot}${prefix}/etc/bash_completion.d/hub 35 36 set completions_path ${destroot}${prefix}/share/bash-completion/completions 37 xinstall -d ${completions_path} 38 xinstall -m 644 ${worksrcpath}/etc/hub.bash_completion.sh ${completions_path}/hub 39 36 40 set site-functions ${destroot}${prefix}/share/zsh/site-functions 37 41 xinstall -d ${site-functions} 38 42 xinstall ${worksrcpath}/etc/hub.zsh_completion ${site-functions}/