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

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

hub: update to version 1.11.1 (closes #42050); remove patch included upstream

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