# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup tmux tmux 2.3 if {${subport} eq ${name}} { revision 0 conflicts tmux-devel } subport tmux-devel { github.setup tmux tmux 52869ed182482c26163799a7215139f4d81b6fca version 20160929-[string range ${github.version} 0 6] revision 0 conflicts tmux } categories sysutils maintainers evermeet.cx:tessarek description terminal multiplexer long_description \ tmux is a \"terminal multiplexer\", it enables a number of terminals \ (or windows) to be accessed and controlled from a single terminal. \ tmux is intended to be a simple, modern, BSD-licensed alternative \ to programs such as GNU screen. homepage https://tmux.github.io platforms darwin license BSD depends_lib port:libevent port:ncurses if {${subport} eq ${name}} { github.tarball_from releases checksums rmd160 57c282ae32dcaf5bcbab9a9f049630c3555b787c \ sha256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b } subport tmux-devel { checksums rmd160 6cb5463c9604022ee8ddf30fc2393c812293e737 \ sha256 eb8f101711f47244669ef71012a81cc7fe90680f27c82a32913de303a707e361 use_autoreconf yes autoreconf.cmd ./autogen.sh autoreconf.args depends_build port:autoconf \ port:automake \ port:libtool \ port:pkgconfig } platform darwin 8 { # On Mac OS X 10.4 there's no libproc.h, so we use a previous version of osdep-darwin.c (c1b9948) post-extract { file copy -force ${filespath}/osdep-darwin.8.c ${worksrcpath}/osdep-darwin.c } } post-destroot { xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux xinstall -m 0644 ${worksrcpath}/example_tmux.conf ${destroot}${prefix}/share/doc/tmux xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax xinstall -m 0644 ${filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect xinstall -m 0644 ${filespath}/ftdetect-tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim } variant screen description "behave more like screen" { post-destroot { xinstall -m 0644 ${worksrcpath}/examples/screen-keys.conf ${destroot}${prefix}/etc/tmux.conf } } notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well"