# -*- 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        ltratt cmdseq 0.2 cmdseq-
github.tarball_from archive
revision            0

homepage            https://tratt.net/laurie/src/cmdseq/

description         \
    ${name} allows users to execute interleaved sequences of commands.

long_description    \
    {*}${description} Assuming the same counts and commands, on each \
    execution cmdseq executes one of the commands, cycling through the \
    sequence and wrapping back to the beginning when it is complete.

categories          sysutils
platforms           any
license             {Apache-2 MIT}
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
supported_archs     noarch

checksums           rmd160  48e89d595a45843ef7970d50c0217192420868e7 \
                    sha256  31f5089e86ba29be2491f7766ebfc8f7107e6036b5bf296a35ae8744cd8c297d \
                    size    4233

use_configure       no

build               {}

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    xinstall -d ${destroot}${prefix}/share/man/man1
    xinstall -m 0444 ${worksrcpath}/${name}.1 \
        ${destroot}${prefix}/share/man/man1/
}
