Ticket #47224: update-hub-to2.2.0.diff
File update-hub-to2.2.0.diff, 2.0 KB (added by grimreaper (Eitan Adler), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup github hub 1.12.4v7 github.setup github hub 2.2.0 v 8 8 revision 0 9 9 categories devel 10 10 platforms darwin … … long_description \ 19 19 20 20 homepage http://defunkt.io/hub/ 21 21 22 checksums rmd160 32aae29c3abd45185dcab72bd055300ac6c9bc0b\23 sha256 54da3c0a3cd0f1e4c36942150ce2bca033adfbc0544d0fc06fa107c515b4755522 checksums rmd160 6be45d60ef775c7833214427dc3723cde2fc9528 \ 23 sha256 cd1fb034c7793fd0f4fe1419eb253602accf0f9c051544112cc5d6fa6b449f26 24 24 25 depends_build bin:rake:rb-rake 25 build.cmd ./script/build 26 build.target {} 26 27 27 depends_ lib port:git28 depends_build port:go 28 29 30 depends_lib port:git \ 31 port:go 32 29 33 use_configure no 30 34 31 # Stealth update; remove this with the next version update 32 dist_subdir ${name}/${version}_1 35 installs_libs no 33 36 34 build {}35 36 destroot.cmd rake37 37 destroot.args prefix=${prefix} 38 post-destroot { 38 destroot { 39 xinstall -W ${worksrcpath} -m 0755 hub ${destroot}${prefix}/bin 39 40 set bash-completions ${destroot}${prefix}/share/bash-completion/completions 40 41 xinstall -d ${bash-completions} 41 xinstall ${worksrcpath}/etc/hub.bash_completion.sh ${bash-completions}/hub42 xinstall -W ${worksrcpath} etc/hub.bash_completion.sh ${bash-completions}/hub 42 43 set site-functions ${destroot}${prefix}/share/zsh/site-functions 43 44 xinstall -d ${site-functions} 44 xinstall ${worksrcpath}/etc/hub.zsh_completion ${site-functions}/45 xinstall -W ${worksrcpath} etc/hub.zsh_completion ${site-functions}/ 45 46 } 46 47 47 48 notes " 48 To use 'hub' as a true git wrapper add the following line to your . bashrc49 To use 'hub' as a true git wrapper add the following line to your .zshrc or .bashrc 49 50 50 51 alias git=hub 51 52