source: trunk/dports/sysutils/tmux/Portfile @ 132936

Last change on this file since 132936 was 132936, checked in by jeremyhu@…, 5 years ago

tmux: Stop setting DARWIN_VERS_1050=0 now that the regression is fixed in 10.10.2 (#46775)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 132936 2015-02-15 10:15:26Z jeremyhu@macports.org $
3
4PortSystem      1.0
5
6name            tmux
7version         1.9a
8revision        4
9categories      sysutils
10maintainers     evermeet.cx:tessarek
11description     terminal multiplexer
12long_description \
13    tmux is a \"terminal multiplexer\", it enables a number of terminals \
14    (or windows) to be accessed and controlled from a single terminal. \
15    tmux is intended to be a simple, modern, BSD-licensed alternative \
16    to programs such as GNU screen.
17homepage        http://tmux.sourceforge.net/
18platforms       darwin
19license         BSD
20master_sites    sourceforge:project/tmux/tmux/tmux-1.9
21
22checksums       rmd160  29ae5f12aa71ee800643fb2df23573bee83f5965 \
23                sha256  c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
24
25depends_lib     port:libevent port:ncurses
26
27platform darwin 8 {
28    # On Mac OS X 10.4 there's no libproc.h, so we use a previous version of osdep-darwin.c (c1b9948)
29    post-extract {
30        file copy -force ${filespath}/osdep-darwin.8.c ${worksrcpath}/osdep-darwin.c
31    }
32}
33
34post-destroot {
35    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
36    foreach file [glob ${worksrcpath}/examples/*.conf] {
37        xinstall -m 0644 $file ${destroot}${prefix}/share/doc/tmux
38    }
39    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax
40    xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax
41    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
42    xinstall -m 0644 ${filespath}/ftdetect-tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim
43}
44
45variant screen description "behave more like screen" {
46    post-destroot {
47        xinstall -m 0644 ${worksrcpath}/examples/screen-keys.conf ${destroot}${prefix}/etc/tmux.conf
48    }
49}
50
51notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well"
52
53livecheck.type  regex
54livecheck.url   ${homepage}
55livecheck.regex ${name}-(\[0-9\]+\\.\[0-9a-z\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.