# -*- 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/on4kjm/FLEcli 0.1.7 v
set git_commit      8ded553
name                flecli
revision            0
categories          sysutils
license             MIT

maintainers         {@harens harens} openmaintainer
description         Multi-platform Fast Log Entry (FLE) processing tool
long_description    {*}${description}.

checksums           ${distname}${extract.suffix} \
                        rmd160  4c4b4985a7115f184685f3e02281da6dd4a45b21 \
                        sha256  5a715cda8aefa8420191bfa0f64fd9b96b86f94144e36b1e9145c52080ef689b \
                        size    1477209

post-extract {
    file mkdir ${gopath}/src/FLEcli
    move ${worksrcpath}/flecmd ${gopath}/src/FLEcli/flecmd
    move ${worksrcpath}/fleprocess ${gopath}/src/FLEcli/fleprocess
}

build.args  -trimpath -ldflags \
               '-X FLEcli/flecmd.commit=${git_commit} \
                -X=FLEcli/flecmd.builtBy=MacPorts \
                -X FLEcli/flecmd.version=${version}'

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

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/ini.v1 \
                        lock    v1.67.0 \
                        rmd160  4aa285a6719b0bb909b12bb70cb08cdf66ffeff3 \
                        sha256  596cc2f7a771b35a1d308449ee2e3f96a79f834dd6d8d3c863c0fff321f70777 \
                        size    53538 \
                    gopkg.in/check.v1 \
                        lock    41f04d3bba15 \
                        rmd160  1e5543a8e6a3159296ee63e28cbde9931a04f6b3 \
                        sha256  c41575a73d10809f89b05ef9e783f2d53facdc6573697770d30efb05a9d2dc28 \
                        size    31612 \
                    golang.org/x/text \
                        lock    v0.13.0 \
                        rmd160  41adfd8809cec3b7d0d885c1d698bc2a0d73ab1c \
                        sha256  b499b39462b190a30882184132b47afb02c2c76ee9fee315c0aebe477c4b8354 \
                        size    8964803 \
                    golang.org/x/sys \
                        lock    v0.12.0 \
                        rmd160  5082c23ea5578ae437fb33840a5cb7b521e413f5 \
                        sha256  d09cc88a9a9a75e43f0c339bba8f106d66313bea1169889d94534b3f6a8a4d6b \
                        size    1447140 \
                    golang.org/x/exp \
                        lock    921286631fa9 \
                        rmd160  4414b620e7dd0d4e95ec541192afa11081f8746d \
                        sha256  a4e2ce5a0ff86e2141f5e23aeed5c21dc1821301156b88992efc11fc40d18c02 \
                        size    1634450 \
                    go.uber.org/multierr \
                        repo    github.com/uber-go/multierr \
                        lock    v1.9.0 \
                        rmd160  a62e8085169740d9dcb002f9a360466b90a90afb \
                        sha256  7bebee5c3b9c61eb805071deeb0857d992f177f8450083d42785aa51b9ab8b11 \
                        size    15674 \
                    go.uber.org/atomic \
                        repo    github.com/uber-go/atomic \
                        lock    v1.9.0 \
                        rmd160  7705959c7053aa8e405560f5ffef3fbca414ee69 \
                        sha256  8baccde94a6ecaea185ef40b9bdecbd3dd8d8df7cbc50c89856b58c5cd897e40 \
                        size    21353 \
                    github.com/subosito/gotenv \
                        lock    v1.6.0 \
                        rmd160  d99c048eeaed43103fbf28a86902dc5a2311f980 \
                        sha256  b5890171316a97614d5a45363350e9c575dfc61ec8249742e68ae97ca21a444c \
                        size    11487 \
                    github.com/stretchr/testify \
                        lock    v1.8.4 \
                        rmd160  8e1645055c9b1d8e117df7974034e74b7f600d27 \
                        sha256  6d0a77075bbe0f8f1c0cbed51dd4d174579db976fef39d9ae6b500aab8917d6a \
                        size    104469 \
                    github.com/spf13/viper \
                        lock    v1.17.0 \
                        rmd160  317e6948bb46a7c2c9e261589ae79d3ee1ce74a1 \
                        sha256  11c597acf88c11edd2a0d9bc5f24f34b46db4b33172fc4d4c0524fe70652c80a \
                        size    127688 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.8.0 \
                        rmd160  d506ddb57519970c8227ded6411adb8153fc8278 \
                        sha256  f35c4dd06645b4bca315c7d7f9a245f9d8851bb5fd43331fcb2aadbd585149e9 \
                        size    189731 \
                    github.com/spf13/cast \
                        lock    v1.5.1 \
                        rmd160  f710c1a8d5e9a111dd5dac112fc0bb82de14b024 \
                        sha256  501da7b1cc515aeeb33860d3cc4137b5591555941388cc60654ce9cb6c548fec \
                        size    15528 \
                    github.com/spf13/afero \
                        lock    v1.10.0 \
                        rmd160  b5ed44cdeab89fd478255901a9069738a76e2e01 \
                        sha256  a279176d5ea291e5a7a2939531cc45432b05dc4df327eb0ce4e52f850afdaf3a \
                        size    94864 \
                    github.com/sourcegraph/conc \
                        lock    v0.3.0 \
                        rmd160  79458f4b5d9aca51fc58e3b3d31b54971169040b \
                        sha256  a35f688a3ff3dc8c86889947febcedf7af0517cd910d1057cba5a0a5c2386451 \
                        size    23025 \
                    github.com/sagikazarmark/slog-shim \
                        lock    v0.1.0 \
                        rmd160  b83db4c4f465c978a6239aeee1afe2d8ecf97353 \
                        sha256  53509e3267df1338fad356fa43949af957d12ba2267ec1410f498569a1866cd8 \
                        size    10882 \
                    github.com/sagikazarmark/locafero \
                        lock    v0.3.0 \
                        rmd160  d953ed99a3a169ac02269a534f771dab8d775646 \
                        sha256  d6889f66c7fdc90e4e3eac7729e7a83535cf35edf0e23ae53fbb66021bfebd68 \
                        size    23755 \
                    github.com/rogpeppe/go-internal \
                        lock    v1.9.0 \
                        rmd160  acb8f644e5634bdae632cdb61ea736422aeb88f0 \
                        sha256  65b0852e5c78fa920fef2176fa17180bf1f7f32a1163baacb44c2aa480845a16 \
                        size    133682 \
                    github.com/pmezard/go-difflib \
                        lock    5d4384ee4fb2 \
                        rmd160  18b381fb63f46047dcc373a07a40e026b1ce1732 \
                        sha256  64935467335b4dff1a510bc726473b9f97124ca6be3fe74c9c2382b0ff6675aa \
                        size    11401 \
                    github.com/pelletier/go-toml \
                        lock    v2.1.0 \
                        rmd160  8333f1e37c354b98998a2793c1dd290482838c9e \
                        sha256  cd68736aa89935e4c00384e1c04a3dc0a2f548fa91dd0921a4137be46c090b03 \
                        size    899447 \
                    github.com/mitchellh/mapstructure \
                        lock    v1.5.0 \
                        rmd160  c838fb22a642081963c8e6f236cdd4c6000bfaf4 \
                        sha256  bd695f63e58f35f07aac6883ac5dc53d44db6cf24caa53efaadcf0842d03d762 \
                        size    30135 \
                    github.com/mitchellh/go-homedir \
                        lock    v1.1.0 \
                        rmd160  44b3985e40e5bbb22d11f8622c340f9ed727ea91 \
                        sha256  024c8a57316c7fbc0eb23cdbfd57f72a74b51beb83d714034d67ee9aba48100c \
                        size    3366 \
                    github.com/magiconair/properties \
                        lock    v1.8.7 \
                        rmd160  df6e5639d11fcd7db0638153e247235b1cf17eb8 \
                        sha256  494b9c870a97ffc3b9377280412ab0c5afff549d109b28d484b02ced07713656 \
                        size    31419 \
                    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/inconshreveable/mousetrap \
                        lock    v1.1.0 \
                        rmd160  88f9577df93ac0f8801d8960adc7f28e38867f3e \
                        sha256  f69af10ff08c0e87f92dac3ee5172d8ed02463725b74edfc8943ef018a1a632d \
                        size    5343 \
                    github.com/hashicorp/hcl \
                        lock    v1.0.0 \
                        rmd160  ad8d0b523bb708fd6ae77df8bb414c103a75aa92 \
                        sha256  4fc0e87ac9d3d6cd042f044df2db2703bed569051fb8c179d505edeb4433e96e \
                        size    70636 \
                    github.com/google/go-cmp \
                        lock    v0.5.9 \
                        rmd160  9832ae80123461baed8aa20e830199c0e21e337b \
                        sha256  3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \
                        size    104431 \
                    github.com/fsnotify/fsnotify \
                        lock    v1.6.0 \
                        rmd160  2d5150222f41b06715da40ebdceafb183979bd07 \
                        sha256  af0e2b174dd969ee214e5899eb499fec5a75f5319ab4c810256f6018649b2a2c \
                        size    46049 \
                    github.com/frankban/quicktest \
                        lock    v1.14.4 \
                        rmd160  3e886282dd68388197724b50d6e2cf503e67b6fe \
                        sha256  4a9be95b7fd81f6d3c3a753b2141f4e1d9371fabe391bcf4dacd84d540d380c4 \
                        size    39505 \
                    github.com/davecgh/go-spew \
                        lock    d8f796af33cc \
                        rmd160  412da847dd485c586e0557e0e511bbdab6c7e929 \
                        sha256  989c527fb1568e2bfd9d4bec811d67ababa346d20fa2ffcc0760fad258241c26 \
                        size    42174
