Ticket #43309: Portfile-tmux.diff

File Portfile-tmux.diff, 2.1 KB (added by tessus (Helmut K. C. Tessarek), 11 years ago)
  • Portfile

    old new  
    1 # $Id: Portfile 118596 2014-04-05 16:19:32Z yeled@macports.org $
    2 
     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$
    33PortSystem 1.0
    4 
    54name            tmux
    6 version         1.8
     5version         1.9a
    76revision        1
    87categories      sysutils
    98maintainers     nomaintainer
     
    1716platforms       darwin
    1817license         BSD
    1918master_sites    sourceforge
    20 checksums           md5     b9477de2fe660244cbc6e6d7e668ea0e \
    21                     sha1    08677ea914e1973ce605b0008919717184cbd033 \
    22                     rmd160  b267ab54f6f55292fa1fa9cd0e892bfd5fd27cfb
    23 
     19checksums           rmd160  29ae5f12aa71ee800643fb2df23573bee83f5965 \
     20                    sha256  c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
    2421depends_lib     port:libevent port:ncurses
    25 
    26 patchfiles      tmux.1.diff \
    27                 tmux.h.diff \
    28                 osdep-darwin.c.diff
    29 
    30 configure.env "LIBS=-lresolv"
    31 
    3222post-destroot {
    3323    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
    3424    foreach file [glob ${worksrcpath}/examples/*.conf] {
     
    3727    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax
    3828    xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax
    3929    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
    40     xinstall -m 0644 ${filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect
     30    xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect
    4131}
    42 
    4332variant screen description "behave more like screen" {
    4433    post-destroot {
    4534        xinstall -m 0644 ${worksrcpath}/examples/screen-keys.conf ${destroot}${prefix}/etc/tmux.conf
    4635    }
    4736}
    48 
    4937notes "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 tmux-(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz