# -*- 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               legacysupport 1.1
PortGroup               github 1.0

github.setup            minfrin retry 1.0.6 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  a6966e6caab947cbfa2386e1e78e6afbf7f14d0f \
                        sha256  b5bbdaee16436fabae608fbc58f47df9726b87b945c9eca1524648500b9afdf3 \
                        size    281571

use_bzip2               yes

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

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

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