Ignore:
Timestamp:
Jun 4, 2015, 9:31:13 PM (4 years ago)
Author:
larryv@…
Message:

tmux{,-devel}: Switch to GitHub (#47951)

Upstream has moved to GitHub, so use the github-1.0 portgroup and update
the project homepage. tmux-devel now fetches GitHub snapsnots instead of
doing Git clones, and it uses the portgroup's default livecheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tmux/Portfile

    r136253 r137096  
    33
    44PortSystem      1.0
     5PortGroup       github 1.0
    56
    6 name            tmux
     7github.setup    tmux tmux 2.0
    78conflicts       tmux-devel
    8 version         2.0
     9subport tmux-devel {
     10    github.setup    tmux tmux 00471dc78358bde092df65de5e2c375bf9be7437
     11    version         20150513-[string range ${github.version} 0 6]
     12    conflicts       tmux
     13}
    914categories      sysutils
    1015maintainers     evermeet.cx:tessarek
     
    1520    tmux is intended to be a simple, modern, BSD-licensed alternative \
    1621    to programs such as GNU screen.
    17 homepage        http://tmux.sourceforge.net/
     22homepage        https://tmux.github.io
    1823platforms       darwin
    1924license         BSD
    20 master_sites    sourceforge:project/tmux/tmux/tmux-${version}/
    21 
    22 checksums       rmd160  5114e1e9d78667291375efcbd9be657b4f175806 \
    23                 sha256  795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
    2425
    2526depends_lib     port:libevent port:ncurses
     27
     28subport tmux {
     29    github.tarball_from     releases
     30    checksums               rmd160  5114e1e9d78667291375efcbd9be657b4f175806 \
     31                            sha256  795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
     32}
     33subport tmux-devel {
     34    checksums               rmd160  14c35c5f0104b13f76d0f553bee820e3baf036ef \
     35                            sha256  e446072baaa8938e107b5267db36966b674e252105144e8b7a25653e6e0ab65f
     36    use_autoreconf          yes
     37    autoreconf.args-append  --force
     38}
    2639
    2740platform darwin 8 {
     
    4861
    4962notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well"
    50 
    51 livecheck.type  regex
    52 livecheck.url   ${homepage}
    53 livecheck.regex ${name}-(\[0-9\]+\\.\[0-9a-z\]+)${extract.suffix}
    54 
    55 subport tmux-devel {
    56     conflicts       tmux
    57 
    58     set git_sha1 00471dc78358bde092df65de5e2c375bf9be7437
    59     version         20150513-[string range $git_sha1 0 6]
    60 
    61     fetch.type      git
    62     git.url         http://git.code.sf.net/p/tmux/tmux-code.git
    63     git.branch      $git_sha1
    64 
    65     use_autoreconf          yes
    66     autoreconf.args-append  --force
    67 
    68     livecheck.type  none
    69 }
Note: See TracChangeset for help on using the changeset viewer.