# -*- 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            minfrin retry 1.0.5 retry-
github.tarball_from     releases
revision                0
categories              sysutils
license                 Apache-2
maintainers             {@therealketo gmail.com:therealketo} openmaintainer

description             Repeat a command until a command succeeds
long_description        {*}${description}. Retry captures stdin into memory as the data is passed to \
                        the repeated command, and this captured stdin is then replayed should the command \
                        be repeated. This makes it possible to embed the retry tool into shell pipelines.

checksums               rmd160  8fafffee444a9d1345dcb041b1c26ebbd1519676 \
                        sha256  68e241d10f0e2d784a165634bb2eb12b7baf0a9fd9d27c4d54315382597d892e \
                        size    260264

use_bzip2               yes

configure.args-append   --disable-silent-rules

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} COPYING ${destroot}${prefix}/share/doc/${name}
}
