2010-10-29 06:30:50 +00:00
|
|
|
# -*- 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
|
2022-03-24 00:50:10 -05:00
|
|
|
PortGroup active_variants 1.1
|
2012-11-22 09:35:46 +00:00
|
|
|
PortGroup python 1.0
|
2010-10-29 06:30:50 +00:00
|
|
|
|
|
|
|
|
name terminator
|
2022-03-24 00:50:10 -05:00
|
|
|
version 1.0
|
|
|
|
|
revision 0
|
|
|
|
|
checksums rmd160 95f5a822bc36d57a8162666fe597f05611953bb3 \
|
|
|
|
|
sha256 88aa09e96591c4fd7ff2765617acee6c9bae9c188db2590652a8aba53bbbdadd \
|
|
|
|
|
size 881675
|
|
|
|
|
|
2010-10-29 06:33:07 +00:00
|
|
|
categories sysutils
|
2024-03-26 04:43:24 +11:00
|
|
|
platforms {darwin any}
|
2022-03-24 00:50:10 -05:00
|
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
2010-10-29 06:30:50 +00:00
|
|
|
license GPL-2
|
|
|
|
|
supported_archs noarch
|
|
|
|
|
|
|
|
|
|
description multiple terminal emulator
|
|
|
|
|
|
|
|
|
|
long_description ${name} lets you open multiple terminal emulators in \
|
|
|
|
|
a single window.
|
|
|
|
|
|
2022-03-24 00:50:10 -05:00
|
|
|
homepage https://gnometerminator.blogspot.com/p/introduction.html
|
|
|
|
|
master_sites https://launchpad.net/terminator/trunk/${version}/+download
|
2010-10-29 06:30:50 +00:00
|
|
|
|
2022-03-24 00:50:10 -05:00
|
|
|
python.default_version 27
|
2012-11-22 09:35:46 +00:00
|
|
|
|
2012-04-03 23:21:27 +00:00
|
|
|
depends_build-append port:intltool
|
|
|
|
|
|
2014-07-18 06:49:19 +00:00
|
|
|
depends_lib-append port:vte-gtk2-compat \
|
2012-11-22 09:35:46 +00:00
|
|
|
port:hicolor-icon-theme \
|
|
|
|
|
port:py${python.version}-keybinder \
|
2022-03-24 00:50:10 -05:00
|
|
|
port:py${python.version}-notify-python \
|
|
|
|
|
port:py${python.version}-psutil
|
|
|
|
|
|
|
|
|
|
require_active_variants port:vte-gtk2-compat python${python.version}
|
|
|
|
|
|
|
|
|
|
patchfiles run_tests.patch
|
2012-11-22 09:35:46 +00:00
|
|
|
|
|
|
|
|
post-patch {
|
|
|
|
|
reinplace -E "s|^#!/usr/bin/env python|#!${python.bin}|" ${worksrcpath}/${name}
|
2022-03-24 00:50:10 -05:00
|
|
|
reinplace -E "s|@PYTHON@|${python.bin}|g" ${worksrcpath}/run_tests
|
|
|
|
|
fs-traverse item [list ${worksrcpath}] {
|
|
|
|
|
if {[file extension ${item}] eq {.py}} {
|
|
|
|
|
reinplace -E -q "s|^#!/usr/bin/(env )?python|#!${python.bin}|" ${item}
|
|
|
|
|
}
|
2012-11-22 09:35:46 +00:00
|
|
|
}
|
|
|
|
|
}
|
2010-10-29 06:30:50 +00:00
|
|
|
|
2022-03-24 00:50:10 -05:00
|
|
|
test.run yes
|
|
|
|
|
|
2010-10-29 06:30:50 +00:00
|
|
|
post-destroot {
|
|
|
|
|
foreach manpage {man1/terminator.1 man5/terminator_config.5} {
|
|
|
|
|
ln -s ${python.prefix}/share/man/${manpage} ${destroot}${prefix}/share/man/${manpage}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
|
|
|
xinstall -d ${docdir}
|
2022-03-24 00:50:10 -05:00
|
|
|
xinstall -m 0644 -W ${worksrcpath} \
|
2010-10-29 06:30:50 +00:00
|
|
|
COPYING \
|
|
|
|
|
ChangeLog \
|
|
|
|
|
README \
|
|
|
|
|
${docdir}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
livecheck.type regex
|
2022-03-24 00:50:10 -05:00
|
|
|
livecheck.url https://launchpad.net/terminator/+download
|
2010-10-29 06:30:50 +00:00
|
|
|
livecheck.regex /${name}\[-_\](\[0-9.\]+)${extract.suffix}
|