# -*- 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/go-task/task 3.34.0 v
name                go-task
github.tarball_from archive
revision            0

homepage            https://taskfile.dev

description         A task runner / simpler Make alternative written in Go

long_description    Task is a task runner / build tool that aims to be simpler \
                    and easier to use than, for example, GNU Make.

conflicts           task

categories          devel
installs_libs       no
license             MIT
maintainers         {@0xIDANT danieltrautmann.com:me} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.env-append    CGO_ENABLED=0
build.args          -o ${worksrcpath}/task \
                    -ldflags \" \
                        -s \
                        -w \
                        -X ${go.package}/internal/version.version=${version} \
                    \" \
                    ./cmd/task

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

    # Install bash completion
    xinstall -d  ${destroot}${prefix}/share/bash-completion/completions
    xinstall ${worksrcpath}/completion/bash/task.bash \
        ${destroot}${prefix}/share/bash-completion/completions/task

    # Install fish completion
    xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
    xinstall ${worksrcpath}/completion/fish/task.fish \
        ${destroot}${prefix}/share/fish/vendor_completions.d/

    # Install zsh completion
    xinstall -d  ${destroot}${prefix}/share/zsh/site-functions
    xinstall ${worksrcpath}/completion/zsh/_task \
        ${destroot}${prefix}/share/zsh/site-functions/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  4cf2686230264711550d766e6a71ac5e0aa6bb4f \
                        sha256  40197ff843ae177e45866b8e54f2800beda606608b46c52fbdcede3c23a0849f \
                        size    785685

go.vendors          mvdan.cc/sh \
                        repo    github.com/mvdan/sh \
                        lock    v3.7.0 \
                        rmd160  989d8bf0d5984cb446f41f07092b3222795a7a0d \
                        sha256  fea10ecc53f94a366c30d6bd4e5d1b6b1fbd259586500772b84101d921215f86 \
                        size    219452 \
                    gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    788fd7840127 \
                        rmd160  b63165c8909a27edc15dda210df66a1b49efb49e \
                        sha256  7e5547c6471cc48da89a7c87f965b20ca5311f43fc4d883ca62f9fccf7551630 \
                        size    31597 \
                    golang.org/x/term \
                        lock    v0.16.0 \
                        rmd160  bd756f55b20d8afea67740e01a2cc13d9c03f2da \
                        sha256  0619c31c8e802b7380b4bc4ed21dbadab3938e88861829deda723aded067f90f \
                        size    14741 \
                    golang.org/x/sys \
                        lock    v0.16.0 \
                        rmd160  10e97b22e4ee6cb4210dc4a3939eff7029c76733 \
                        sha256  1736d810e783163472b5653ec5eb4272b9f7d570f4e212c5d55d6491be694cf7 \
                        size    1444408 \
                    golang.org/x/sync \
                        lock    v0.6.0 \
                        rmd160  f9a1a924a702fc4a3679db3dc36c58ca5b2eba0a \
                        sha256  b4e9aa29dbb296cc2ebfd679927b1789078d5743385b26c0656a24da89fdcee9 \
                        size    17596 \
                    golang.org/x/exp \
                        lock    0dcbfd608b1e \
                        rmd160  86adc5d8cc6615c4b8b06716b3a74620d8ae6827 \
                        sha256  d24db5dced604f4622b23e82fb325f0b373ea589bb0908ec84b10f0260ffb5e5 \
                        size    1719607 \
                    github.com/zeebo/xxh3 \
                        lock    v1.0.2 \
                        rmd160  7d6d924ef90796c1e3446f1cbdc9115e85a236fb \
                        sha256  7d615f01a7230edf71b759d39f1081b5dd31eb74056c5240954d0a8b27eb9d43 \
                        size    286395 \
                    github.com/zeebo/assert \
                        lock    v1.3.0 \
                        rmd160  dbb211c914376fd5139648a5d1e9ae2ad5ec4bdb \
                        sha256  abe3215aff4aff4423feec6149d403429ba044070eb1b7030dfe395a5187bcf8 \
                        size    5017 \
                    github.com/stretchr/testify \
                        lock    v1.8.4 \
                        rmd160  8e1645055c9b1d8e117df7974034e74b7f600d27 \
                        sha256  6d0a77075bbe0f8f1c0cbed51dd4d174579db976fef39d9ae6b500aab8917d6a \
                        size    104469 \
                    github.com/stretchr/objx \
                        lock    v0.5.0 \
                        rmd160  9ff3c4d1d122c7e389f2d8b0b0c5503fd1c15e0a \
                        sha256  21b1f19a64c553c9ee77ab25f498ceafe839a84aa9380f04154ea28217c60974 \
                        size    165551 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/sajari/fuzzy \
                        lock    v1.0.0 \
                        rmd160  e640845e63af949ee5959eabb9f56530190b4eef \
                        sha256  560c135884851b8f15387af425a01c975de543985fa75293ce00953771df8a0a \
                        size    2402018 \
                    github.com/rogpeppe/go-internal \
                        lock    ec119421bb97 \
                        rmd160  51f73a8cf324f164b7280ed1ca76f8aeba0beb0c \
                        sha256  1f116dda4c37180effb3a1fe46b6f5d04517e8ea21bd39649b6784eb033a67e0 \
                        size    113163 \
                    github.com/radovskyb/watcher \
                        lock    v1.0.7 \
                        rmd160  40ceded085a12394b8a175803fe9755630d9cab3 \
                        sha256  9ef3de772c0e16a8d1cb8f3d53107cdf2dd1e41301864f8f127c2c59104a2311 \
                        size    12788 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/mitchellh/hashstructure \
                        lock    v2.0.2 \
                        rmd160  9044adcba30a6c7cf7c97ae8a20329a73bac24ce \
                        sha256  855ba6ee0a14f0bc88af9d82fb6ab564cc4456f296058270ce7b55800fe3f09e \
                        size    9005 \
                    github.com/mattn/go-zglob \
                        lock    v0.0.4 \
                        rmd160  9bad0fe668198650ec89d46dd70a7a556f76187d \
                        sha256  9d5954881ed4a3daf0b30a661ac806ff264eb894d9020d44d73e3cfa150893b4 \
                        size    8952 \
                    github.com/mattn/go-isatty \
                        lock    v0.0.20 \
                        rmd160  ef20ccdf87de8b704c0c7118625b2beb31d8f1b4 \
                        sha256  397549e98cf5d40df585f31dc7902f017c37be88c64311dd2b4aeccab4009949 \
                        size    4717 \
                    github.com/mattn/go-colorable \
                        lock    v0.1.13 \
                        rmd160  c9e8ab9d0773c0984f36235e3c9f8c033552ac1a \
                        sha256  0cd9a951799c1a9f999df56e4b020170fa887456049c274aae6262d9ae3f7424 \
                        size    9778 \
                    github.com/kr/text \
                        lock    v0.2.0 \
                        rmd160  48558c7e8ff67d510f83c66883907e95f4783163 \
                        sha256  2f2e21ac8a9d523e88cbba4039441defc4a66bfaa78811c900a88fcf28729c4c \
                        size    8702 \
                    github.com/kr/pretty \
                        lock    v0.3.1 \
                        rmd160  8c08579b4c56cdc958794e77afe3413e80aa67c3 \
                        sha256  7fcea475d6280976cf4a838e75d2b3a4105827316e588a80e49e8063d950c999 \
                        size    10232 \
                    github.com/klauspost/cpuid \
                        lock    v2.0.9 \
                        rmd160  74b904a37421c1553ab642a54bf2f4c5eee76be0 \
                        sha256  4e7fa18aac1517dfe13b3973210bbc995cb1571506258fc1a667b09f6c5cd383 \
                        size    342181 \
                    github.com/joho/godotenv \
                        lock    v1.5.1 \
                        rmd160  be2375fb2edf2c76115eb64dc43ddcf03d8c5c4c \
                        sha256  4265071c8906f85467d30f0371978ba703734fad9126d74d7b09e18d8b506df7 \
                        size    14234 \
                    github.com/google/go-cmp \
                        lock    v0.5.9 \
                        rmd160  9832ae80123461baed8aa20e830199c0e21e337b \
                        sha256  3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \
                        size    104431 \
                    github.com/go-task/slim-sprig \
                        lock    v3.0.0 \
                        rmd160  f2135cd27dc0522a373618fae0fa7063f48306c2 \
                        sha256  4738b8e47ba7eeb679b53839bbed8233e478db8866a7c09154916a18ec756e9b \
                        size    40278 \
                    github.com/frankban/quicktest \
                        lock    v1.14.5 \
                        rmd160  73234dfdd12c4be3b70c45e662fac5acf3388a24 \
                        sha256  2413ed7e18c57534f163ebbfe383574e685eea6e91aa512e51516f724c9b1abd \
                        size    39970 \
                    github.com/fatih/color \
                        lock    v1.16.0 \
                        rmd160  e366491b67c4f4afbc5d3a26f2b76585d06f8381 \
                        sha256  968744e2d5468beab9fe694143737c0c9e5cebfe860211c521a8424320cfa910 \
                        size    12112 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/creack/pty \
                        lock    v1.1.18 \
                        rmd160  7ba5c3871eab7e529a05dc65ddc2a68c9daa6017 \
                        sha256  19cd1eaadd9f3218dc3e71483833a979c245090b5e64512a9d4cf4acf22f3112 \
                        size    10671 \
                    github.com/Masterminds/semver \
                        lock    v3.2.1 \
                        rmd160  f08bea69acc966dc0a5ae652dcc00050197da75d \
                        sha256  ac15014cfbc80232d90011ae53d6d35f28babed0a711f3cfaa2b50ce4b2d6980 \
                        size    27009
