Ticket #47951: Portfile-tmux.diff

File Portfile-tmux.diff, 2.5 KB (added by xuchunyang (Chunyang Xu), 9 years ago)
  • Portfile

    old new  
    11# -*- 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
    22# $Id: Portfile 136253 2015-05-13 16:36:25Z larryv@macports.org $
    33
    4 PortSystem      1.0
     4PortSystem          1.0
     5PortGroup           github 1.0
    56
    6 name            tmux
    7 conflicts       tmux-devel
    8 version         2.0
    9 categories      sysutils
    10 maintainers     evermeet.cx:tessarek
    11 description     terminal multiplexer
     7github.setup        tmux tmux 2.0
     8revision            1
     9conflicts           tmux-devel
     10categories          sysutils
     11maintainers         evermeet.cx:tessarek
     12description         terminal multiplexer
    1213long_description \
    1314    tmux is a \"terminal multiplexer\", it enables a number of terminals \
    1415    (or windows) to be accessed and controlled from a single terminal. \
    1516    tmux is intended to be a simple, modern, BSD-licensed alternative \
    1617    to programs such as GNU screen.
    17 homepage        http://tmux.sourceforge.net/
    18 platforms       darwin
    19 license         BSD
    20 master_sites    sourceforge:project/tmux/tmux/tmux-${version}/
     18homepage            http://tmux.github.io/
     19platforms           darwin
     20license             BSD
    2121
    22 checksums       rmd160  5114e1e9d78667291375efcbd9be657b4f175806 \
    23                 sha256  795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
     22github.tarball_from releases
    2423
    25 depends_lib     port:libevent port:ncurses
     24distname            tmux-${version}
     25
     26checksums           rmd160  5114e1e9d78667291375efcbd9be657b4f175806 \
     27                    sha256  795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
     28
     29depends_lib         port:libevent port:ncurses
    2630
    2731platform darwin 8 {
    2832    # On Mac OS X 10.4 there's no libproc.h, so we use a previous version of osdep-darwin.c (c1b9948)
     
    4852
    4953notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well"
    5054
    51 livecheck.type  regex
    52 livecheck.url   ${homepage}
    53 livecheck.regex ${name}-(\[0-9\]+\\.\[0-9a-z\]+)${extract.suffix}
    54 
    5555subport tmux-devel {
    5656    conflicts       tmux
    5757
     
    5959    version         20150513-[string range $git_sha1 0 6]
    6060
    6161    fetch.type      git
    62     git.url         http://git.code.sf.net/p/tmux/tmux-code.git
     62    git.url         https://github.com/tmux/tmux.git
    6363    git.branch      $git_sha1
    6464
    6565    use_autoreconf          yes