# -*- 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/wader/fq 0.15.1 v
revision            0

description         jq for binary formats

long_description    \
    {*}${description}. ${name} is a tool, language and set of decoders for \
    inspecting binary data. In most cases ${name} works the same way as jq \
    but instead of reading JSON it reads binary data. The result is a JSON \
    compatible structures where each value has a bit range, symbolic \
    interpretations and know how to be presented in a useful way.

categories          sysutils
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.pre_args-append \
    -ldflags \"-s -w -X main.version=${github.tag_prefix}${version}\"

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

checksums           ${distname}${extract.suffix} \
                        rmd160  9ac527caf586d1eaf441cce0750d35327e881130 \
                        sha256  9f668394c33f3effd02b7d7a145f1087ce784e01d3d0c6e6ba41a899d5e349a7 \
                        size    17886366

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    8fa46927fb4f \
                        rmd160  c84f37dc900224c5e9e6e16ed5acc0d625583bc1 \
                        sha256  c41439b343f3fc3c0b6f943b4aae642f10f19451e945c23dfb324c9c8f87d0b7 \
                        size    31616 \
                    golang.org/x/text \
                        lock    v0.27.0 \
                        rmd160  3e107b85875c286ddcfc1b54394511131beacef8 \
                        sha256  e17d0f44e43c08335322047d9310665e8cb0b4f796aff6efb5d2e6f89a9ee7a6 \
                        size    8974673 \
                    golang.org/x/term \
                        lock    v0.33.0 \
                        rmd160  25e305513a0d43f51740d6501a0e514f0d1a916c \
                        sha256  5783624041868cde100315d40c903cda505917c066ecda529dce0b34f42d8690 \
                        size    15453 \
                    golang.org/x/sys \
                        lock    v0.34.0 \
                        rmd160  a87df453351955262c3e67ec823f0176b317f87d \
                        sha256  6f5791e51a2e6926432b508bcf89141356307d1b378a5b3ca9663df4f462c7a6 \
                        size    1531356 \
                    golang.org/x/net \
                        lock    v0.42.0 \
                        rmd160  6fa0b8351464db25d1033c94a352d5776a063b53 \
                        sha256  3eb38644e1166af6362d1128cff5a62c43640df97142513bb9e7b0eabc0490fe \
                        size    1504674 \
                    golang.org/x/crypto \
                        lock    v0.40.0 \
                        rmd160  2dbe565575f53f28d76ebac2ac6ccf8fb635601c \
                        sha256  5c7ed3022e72024e1317e6ea95da45dbe992c9b901e1e4e7ad49bf30d08eb8d7 \
                        size    2167357 \
                    github.com/wader/gojq \
                        lock    0aa7b87b2c2b \
                        rmd160  361fdaf841bd3dc02d4b80f0df34b5a5c3996127 \
                        sha256  569a3d86c91cc153dccb586c5419ee6510e85c399dca9f05e35721f74c8c27d1 \
                        size    136317 \
                    github.com/niemeyer/pretty \
                        lock    a10e7caefd8e \
                        rmd160  46bcfc3db9e3d98acbacd1f96d9483fa360f88b7 \
                        sha256  97b952a32175ba84349ef352e523bfa15bf3a06e07e44458a908061fbc519b40 \
                        size    9405 \
                    github.com/mitchellh/reflectwalk \
                        lock    v1.0.2 \
                        rmd160  0371e346bfe14926662afff3eeda22ce6dc6d2a4 \
                        sha256  472ea8302bfe36cd5ea5a66cb9ee996d6984ce74bfc9b7c15e763f21687b3eff \
                        size    6863 \
                    github.com/mitchellh/mapstructure \
                        lock    v1.5.0 \
                        rmd160  c838fb22a642081963c8e6f236cdd4c6000bfaf4 \
                        sha256  bd695f63e58f35f07aac6883ac5dc53d44db6cf24caa53efaadcf0842d03d762 \
                        size    30135 \
                    github.com/mitchellh/copystructure \
                        lock    v1.2.0 \
                        rmd160  401559c8d2db7a6becabf583dca6843e5cd3c5ac \
                        sha256  e6cbd00eca63c91837cd094e89bda52d067163dc5b5db12758b8995c75fd3377 \
                        size    9936 \
                    github.com/kr/text \
                        lock    v0.1.0 \
                        rmd160  0b3c78459e227170a3b80a0103d87a3eef77ed88 \
                        sha256  5ed970aad0da3cba3cffacdb4d154a162a8968655ee6d6f7b627e71b869efaf6 \
                        size    8691 \
                    github.com/itchyny/timefmt-go \
                        lock    v0.1.6 \
                        rmd160  99551280509a955329da38d35fea28174a93af61 \
                        sha256  c8d03cbfb0111d827cc0bd98230d180ed3bc603bae95e7b43fe6fcb7748093da \
                        size    15081 \
                    github.com/gopacket/gopacket \
                        lock    v1.3.1 \
                        rmd160  2ac6deefd464524bcc61edb65797e66321f54765 \
                        sha256  f0d3c6b85c8cf8c6bf4acb70243fb67f94fd3c24d51b9c81a0faa825d88ba176 \
                        size    1887440 \
                    github.com/gomarkdown/markdown \
                        lock    7a1f277a159e \
                        rmd160  71dbbcd9aa9d85471bd21eb98b4618dcde31c7f3 \
                        sha256  73fe59e9a5926f36bc989893c918dc3c9039648769b2a791c60fd5e1240de79e \
                        size    124273 \
                    github.com/golang/snappy \
                        lock    v0.0.4 \
                        rmd160  23c095b7e2bc6f5a978d771e4ecc9f7b0f204491 \
                        sha256  6a2d69e63124670c8b8105fb34d32f3f34f6816f93bf5a6e28f85c428c5b40ae \
                        size    66136 \
                    github.com/ergochat/readline \
                        lock    v0.1.3 \
                        rmd160  601bc82bf6892ceb566e283d2659714876ee9d7c \
                        sha256  fe86f18b6bdf15313683217a4cc304adb4795c1c0c2489b4b73de848d7942373 \
                        size    49552 \
                    github.com/creasty/defaults \
                        lock    v1.8.0 \
                        rmd160  af446c452f64ceea3c56d0d072ce151cc256a966 \
                        sha256  fabfec02b3b6b757438941d57b3a09a51dd8ae702e45aa729f1cb67927871834 \
                        size    9461 \
                    github.com/BurntSushi/toml \
                        lock    v1.5.0 \
                        rmd160  49d05b71280b608decff341422e418dde7d3eb5a \
                        sha256  fa1ef74a26dbc3ffa82643fa9b51e99f54a19dd42a97d39e0ee20c2750bd2d94 \
                        size    118627
