# -*- 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 PortSystem 1.0 PortGroup github 1.0 github.setup tmux tmux 2.7 if {${subport} eq ${name}} { conflicts tmux-devel } subport tmux-devel { github.setup tmux tmux 91b220525b0406763dafb6698d2741bec580bc10 version 20180504-[string range ${github.version} 0 6] conflicts tmux } categories sysutils maintainers {evermeet.cx:tessarek @tessus} 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 0f36f35969fb61b8d2771845deba2596b047b7b7 \ sha256 9ded7d100313f6bc5a87404a4048b3745d61f2332f99ec1400a7c4ed9485d452 \ size 487585 } subport tmux-devel { checksums rmd160 a26be1aecc75a143c184d2cbc78acdb2338294ab \ sha256 dc4bea8c650bc45973e546ad7464597cea5c88573de3b23c31378c770114d0f6 \ size 631005 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"