source: trunk/dports/devel/hub/Portfile

Last change on this file was 153642, checked in by raimue@…, 10 months ago

hub: update to version 2.2.9

Include man page. Update livecheck to avoid matching pre-releases.

Closes #52522.

  • 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 153642 2016-10-06 16:47:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        github hub 2.2.9 v
8categories          devel
9platforms           darwin
10license             MIT
11maintainers         eitanadler.com:lists
12
13description         git-wrapper for GitHub specific functionality
14long_description    \
15    hub is a command line utility which adds GitHub knowledge to git. \
16    It can be used on its own or as a git wrapper.
17
18homepage            https://hub.github.com/
19
20checksums           rmd160  1afec3de053f124d22f9587ff889f2d212d6e909 \
21                    sha256  9b94086ad52bf724c78b62568931027e01499f8c4e5b0aae476417c856bf7a98
22
23build.cmd           ./script/build
24build.target
25
26depends_lib         port:go
27
28use_configure       no
29
30installs_libs       no
31
32destroot {
33    xinstall -W ${worksrcpath} bin/hub ${destroot}${prefix}/bin
34    xinstall -W ${worksrcpath} man/hub.1 ${destroot}${prefix}/share/man/man1/hub.1
35    set bash-completions ${destroot}${prefix}/share/bash-completion/completions
36    xinstall -d ${bash-completions}
37    xinstall -W ${worksrcpath} etc/hub.bash_completion.sh ${bash-completions}/hub
38    set site-functions ${destroot}${prefix}/share/zsh/site-functions
39    xinstall -d ${site-functions}
40    xinstall -W ${worksrcpath} etc/hub.zsh_completion ${site-functions}/
41}
42
43notes "
44To use 'hub' as a true git wrapper add the following line to your .zshrc or .bashrc
45
46alias git=hub
47
48or use 'hub' as standalone command
49"
50
51livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"-\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.