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$ 3 3 PortSystem 1.0 4 5 4 name tmux 6 version 1. 85 version 1.9a 7 6 revision 1 8 7 categories sysutils 9 8 maintainers nomaintainer … … 17 16 platforms darwin 18 17 license BSD 19 18 master_sites sourceforge 20 checksums md5 b9477de2fe660244cbc6e6d7e668ea0e \ 21 sha1 08677ea914e1973ce605b0008919717184cbd033 \ 22 rmd160 b267ab54f6f55292fa1fa9cd0e892bfd5fd27cfb 23 19 checksums rmd160 29ae5f12aa71ee800643fb2df23573bee83f5965 \ 20 sha256 c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 24 21 depends_lib port:libevent port:ncurses 25 26 patchfiles tmux.1.diff \27 tmux.h.diff \28 osdep-darwin.c.diff29 30 configure.env "LIBS=-lresolv"31 32 22 post-destroot { 33 23 xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux 34 24 foreach file [glob ${worksrcpath}/examples/*.conf] { … … 37 27 xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax 38 28 xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax 39 29 xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect 40 xinstall -m 0644 ${ filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect30 xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect 41 31 } 42 43 32 variant screen description "behave more like screen" { 44 33 post-destroot { 45 34 xinstall -m 0644 ${worksrcpath}/examples/screen-keys.conf ${destroot}${prefix}/etc/tmux.conf 46 35 } 47 36 } 48 49 37 notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well" 50 51 livecheck.type regex52 livecheck.url ${homepage}53 livecheck.regex tmux-(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz