source: trunk/dports/devel/hub/Portfile @ 120912

Last change on this file since 120912 was 120912, checked in by ciserlohn@…, 6 years ago

git, git-core: update to version 2.0.0; rename to git (closes #37279) and update all dependent ports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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: Portfile 120912 2014-06-11 13:10:52Z ciserlohn@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        github hub 1.11.1 v
8revision            1
9description         git-wrapper for GitHub specific functionality
10long_description    hub is a command line utility which adds GitHub knowledge to git.\
11                    It can be used on its own or as a git wrapper.
12maintainers         phw openmaintainer
13categories          devel
14license             MIT
15platforms           darwin
16supported_archs     noarch
17
18homepage            http://defunkt.io/hub/
19
20checksums           rmd160  2b07f4243eb0f0dc3d50fe5bf379c03e9d4dd909 \
21                    sha256  b36a36b959472bf81466db7cb563147497d27216adfcafb5e24f370ff4c17764
22
23depends_build       bin:rake:rb-rake
24
25depends_lib         port:git
26
27use_configure       no
28
29# Stealth update; remove this with the next version update
30dist_subdir         ${name}/${version}_1
31
32build {}
33
34destroot.cmd        rake
35destroot.args       prefix=${destroot}${prefix}
36post-destroot {
37    set bash-completions ${destroot}${prefix}/share/bash-completion/completions
38    xinstall -d ${bash-completions}
39    xinstall ${worksrcpath}/etc/hub.bash_completion.sh ${bash-completions}/hub
40    set site-functions ${destroot}${prefix}/share/zsh/site-functions
41    xinstall -d ${site-functions}
42    xinstall ${worksrcpath}/etc/hub.zsh_completion ${site-functions}/
43}
44
45notes "
46To use 'hub' as a true git wrapper add the following line to your .bashrc
47
48alias git=hub
49
50or use 'hub' as standalone command
51"
Note: See TracBrowser for help on using the repository browser.