# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=Portfile:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup python 1.0 PortGroup select 1.0 github.setup tmux-python tmuxp 1.56.0 v github.tarball_from archive name py-tmuxp revision 0 categories-append devel license MIT supported_archs noarch platforms {darwin any} maintainers {@egorenar posteo.net:egorenar-dev} \ {@judaew judaew} openmaintainer description tmux session manager. long_description {*}${description} python.versions 310 311 312 313 python.pep517 yes python.pep517_backend poetry if {${name} ne ${subport}} { depends_lib-append \ port:py${python.version}-click \ port:py${python.version}-colorama \ port:py${python.version}-kaptan \ port:py${python.version}-libtmux depends_run-append \ port:tmuxp_select checksums rmd160 2125ea1191a3f3438751c3dc09139ec1d60273d9 \ sha256 807543ad851094eca519f0d0964c71a07a2652b6fbbc942f45d888eca973e58c \ size 935483 select.group tmuxp select.file ${worksrcpath}/py${python.version}-tmuxp post-extract { copy -force ${filespath}/tmuxp ${worksrcpath}/py${python.version}-tmuxp } post-patch { reinplace \ "s,@PYTHON_BRANCH@,${python.branch},g" \ ${worksrcpath}/${subport} } post-destroot { xinstall -d ${destroot}${prefix}/share/examples/${subport} xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${subport} } notes " To make the Python ${python.branch} version of tmuxp the one that is run when\ you execute the commands without a version suffix, e.g. 'tmuxp', run: port select --set ${select.group} [file tail ${select.file}] " livecheck.type none } github.livecheck.regex "(\\d+(?:\\.\\d+)+)"