# -*- 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           golang 1.0

go.setup            github.com/k1LoW/evry 0.3.0 v
revision            0

description         Split STDIN stream and execute specified command every \
                    N lines/seconds.

long_description    {*}${description}

categories          sysutils
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.pre_args-append \
    -ldflags \
    \"-X ${go.package}/version.Version=${github.tag_prefix}${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  de388a135b3ebeb26aa88920ef1ceec61d8f7cb4 \
                        sha256  7462502b54668c8d57e43df75bc94ba22936d17cdaa27d08f7ebbdd98714ddb9 \
                        size    220118

go.vendors          github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.2.1 \
                        rmd160  8cbd41c202bb65c6fc38d041db51f7710bd77a87 \
                        sha256  7b6b30de08140e72fe8cebf3bba802ed4748f102cf977236e9e89af10d374b04 \
                        size    161348 \
                    github.com/k1LoW/exec \
                        lock    v0.2.0 \
                        rmd160  8612a1aaf84732f2d066cf97e681172e7e933582 \
                        sha256  ee6f86baf67820df21670b5f6b51290cf408732b8194f696ef30c5015248bbf9 \
                        size    5674 \
                    github.com/inconshreveable/mousetrap \
                        lock    v1.0.0 \
                        rmd160  5c617a09f1432fc543672a0e0c1e13d3752030c2 \
                        sha256  0e6bae2849f13d12fe361ecac087728e4e97f3482f4cec44f6e7a2c53bb9cd0c \
                        size    2291
