# -*- 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/sibprogrammer/xq 1.2.5 v
github.tarball_from archive
revision            0

description         Command-line XML and HTML beautifier and content extractor

long_description    {*}${description}

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

build.args-append   \
    -ldflags \" -X main.version=${version} \"

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

    xinstall -d ${destroot}${prefix}/share/man/man1

    copy \
        ${worksrcpath}/docs/${name}.man \
        ${destroot}${prefix}/share/man/man1/${name}.1
}

checksums           ${distname}${extract.suffix} \
                        rmd160  3ef9d3cf49e87e118803a7fd04fec70c83aa626a \
                        sha256  9432a992d2f0ab82a7350da6317e27f835713c340177518dd08581bd0e918365 \
                        size    153109

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    41f04d3bba15 \
                        rmd160  1e5543a8e6a3159296ee63e28cbde9931a04f6b3 \
                        sha256  c41575a73d10809f89b05ef9e783f2d53facdc6573697770d30efb05a9d2dc28 \
                        size    31612 \
                    golang.org/x/text \
                        lock    v0.17.0 \
                        rmd160  d78334f0fbc6685d09d300728e8d76dec95f4a0d \
                        sha256  1485e4341b809faa9541d59999dbfa9016570395a2fcdd252c448e42a8196b81 \
                        size    8972469 \
                    golang.org/x/sys \
                        lock    v0.23.0 \
                        rmd160  2f2f0d9166b97a7934502b27fa5fd1731ea13a47 \
                        sha256  1a7d353f259d1f34c27bafc2c7280627a3227a95387aa2dc636b17a321a49186 \
                        size    1501815 \
                    golang.org/x/net \
                        lock    v0.28.0 \
                        rmd160  ff293c5c5c80c01ee1e994c91cfdc1c5fc7a5549 \
                        sha256  8bd844bca7746be0c4ba536164a6869427299ac0abfcd34a76b8ee1866918b5e \
                        size    1454672 \
                    github.com/stretchr/testify \
                        lock    v1.9.0 \
                        rmd160  59147e117812fdf8270ec79e46a229c472caf08d \
                        sha256  e6fa4f530cad5bac94bf08af05ddd1f569aeac8db4017ab4330ab7fe2802a6a3 \
                        size    108716 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.8.1 \
                        rmd160  a735ec73fa26b66076a971e066513fff3eb7e367 \
                        sha256  49ca05093e0452e1b56be8a0765e23fd74be819228f0e1870c759b2e2e8178da \
                        size    192387 \
                    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/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/inconshreveable/mousetrap \
                        lock    v1.1.0 \
                        rmd160  88f9577df93ac0f8801d8960adc7f28e38867f3e \
                        sha256  f69af10ff08c0e87f92dac3ee5172d8ed02463725b74edfc8943ef018a1a632d \
                        size    5343 \
                    github.com/golang/groupcache \
                        lock    41bb18bfe9da \
                        rmd160  dba4526dc11102f7cfc3ee7be23cb1416793e35b \
                        sha256  03b46be967afa501b74a1bf72211b08d6e8f6b2a3b42335105480b6df6e51980 \
                        size    26110 \
                    github.com/fatih/color \
                        lock    v1.17.0 \
                        rmd160  9d0962ae868c99aad71d9f8ad21b58a219fca1cc \
                        sha256  861f4ff9c6566b6e097ad4fe53248461dcad57fbb2c201413d64206f7d2b02b2 \
                        size    12339 \
                    github.com/davecgh/go-spew \
                        lock    d8f796af33cc \
                        rmd160  412da847dd485c586e0557e0e511bbdab6c7e929 \
                        sha256  989c527fb1568e2bfd9d4bec811d67ababa346d20fa2ffcc0760fad258241c26 \
                        size    42174 \
                    github.com/antchfx/xpath \
                        lock    v1.3.1 \
                        rmd160  6a7b242dcc7fdb40cab90ad74901a3818c854306 \
                        sha256  fa0d03f8edf473062d8f914f40e8f851d21c402e20d6e8b4e9a83ab90a41441d \
                        size    36593 \
                    github.com/antchfx/xmlquery \
                        lock    v1.4.1 \
                        rmd160  f54e084ed2fa30089443ff4fbb56b1077242fe2c \
                        sha256  9fd0c3b152afd4e381195ae6c14c24c6726dab3c5d035abd3cdcfa18f4fc117f \
                        size    23814 \
                    github.com/andybalholm/cascadia \
                        lock    v1.3.2 \
                        rmd160  e7ce086c23dcac09cffc7bd5a95668c9faf0bf45 \
                        sha256  20182afb02142724c1161c7fbe95a8f7e0e166927b04f96fc99f2984898c98cb \
                        size    35399 \
                    github.com/PuerkitoBio/goquery \
                        lock    v1.9.2 \
                        rmd160  57a1fc3728d5fd46148ccc15157328e2f72a0215 \
                        sha256  cdd99b57bda85cee21b40fc36dd395662cba9469c82d8d5657cdd3cef5a34e85 \
                        size    107527
