mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 KiB
Tcl
# -*- 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
|
|
PortGroup python 1.0
|
|
|
|
github.setup nojhan colout 1.1 v
|
|
github.tarball_from archive
|
|
revision 2
|
|
|
|
categories textproc
|
|
license GPL-3
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
|
|
description Color Up Arbitrary Command Ouput
|
|
long_description ${name} read lines of text stream on the standard input and \
|
|
output characters matching a given regular expression \
|
|
PATTERN in given COLOR and STYLE.
|
|
|
|
homepage https://nojhan.github.io/colout/
|
|
|
|
checksums rmd160 c39174cfe17941160a90e22f3d4f48f660716703 \
|
|
sha256 6d13793207b27a5175592818140a83d748e5604b6d6aa63f8f7865cf1d481eee \
|
|
size 52783
|
|
|
|
python.default_version 314
|
|
|
|
patchfiles-append patch-setup.py.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/setup.py
|
|
}
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-babel \
|
|
port:py${python.version}-pygments
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE \
|
|
README.md ${destroot}${docdir}
|
|
}
|