# -*- 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/mikefarah/yq 4.44.5 v go.package github.com/mikefarah/yq/v4 github.tarball_from archive revision 0 homepage https://mikefarah.gitbook.io/yq description \ yq is a portable command-line YAML processor long_description \ {*}${description}. The aim of the project is to be the jq or sed of yaml \ files. categories textproc sysutils installs_libs no license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer # address a warning about invalid man pages patchfiles mandoc.diff depends_build-append \ port:pandoc build.pre_args-append \ -ldflags \"-X ${go.package}/cmd.Version=${version}\" build.args-append -o ${name} post-build { system -W "${worksrcpath}" scripts/generate-man-page-md.sh system -W "${worksrcpath}" scripts/generate-man-page.sh } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -m 0644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/ xinstall -d ${destroot}${prefix}/share/${name} xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/ set bash_completion ${prefix}/share/bash-completion/completions xinstall -d ${destroot}${bash_completion} exec ${destroot}${prefix}/bin/${name} shell-completion bash > \ ${destroot}${bash_completion}/${name} set zsh_completion ${prefix}/share/zsh/site-functions xinstall -d ${destroot}${zsh_completion} exec ${destroot}${prefix}/bin/${name} shell-completion zsh > \ ${destroot}${zsh_completion}/_${name} set fish_completion ${prefix}/share/fish/vendor_completions.d xinstall -d ${destroot}${fish_completion} exec ${destroot}${prefix}/bin/${name} shell-completion fish > \ ${destroot}${fish_completion}/${name}.fish } checksums ${distname}${extract.suffix} \ rmd160 9c132fa2646dc7b5a923f57fdc41120f8f066d9e \ sha256 1505367f4a6c0c4f3b91c6197ffed4112d29ef97c48d0b5e66530cfa851d3f0e \ size 298784 go.vendors gopkg.in/yaml.v3 \ lock v3.0.1 \ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \ size 91208 \ gopkg.in/op/go-logging.v1 \ lock b2cb9fa56473 \ rmd160 2621efba2352994d2b3a1541c853511b24884e54 \ sha256 73acfa44b0fe8e3074d173f04ce164e81b6996327d07d0bec0025df0491e4091 \ size 35888 \ gopkg.in/check.v1 \ lock 20d25e280405 \ rmd160 412aa0d109919182ff84259e9b5bbc9f24d78117 \ sha256 233f8faf427ce6701ac3427f85c28bc6b6ae7cdc97a303a52873c69999223325 \ size 30360 \ golang.org/x/text \ lock v0.20.0 \ rmd160 d0cf0b5ac590c6ebaac1bc4e268586e7e59e31a1 \ sha256 febe53d5d488bf05dff1e8bf76ca4ddcfda5501ecaea772ec5f8cf52e3f9c8bc \ size 8973040 \ golang.org/x/sys \ lock v0.27.0 \ rmd160 b9752e2e71b6277ffb543a3b26cfad8531187da2 \ sha256 9eb9e93ce913a10bbdc29a3efb0bbf6e38603da3ed72103e8207b4a9f501b98f \ size 1518524 \ golang.org/x/net \ lock v0.31.0 \ rmd160 c8bf758cf50e7fd2ddf5284b9d1f6f79600af206 \ sha256 d716bf95b38f5efb6eab2ee855d932dea9cf9f4b286bd5bbff8f273b69577046 \ size 1463943 \ golang.org/x/crypto \ lock v0.29.0 \ rmd160 dd0d3afe237f3cc089d454b41b653e0c20f9b987 \ sha256 8f1bada88a92e1eec63e9aea89bf90eecb5652a74e191a1fc7b8df8076097093 \ size 1847615 \ github.com/yuin/gopher-lua \ lock v1.1.1 \ rmd160 05c9f9160a898f43e00a32d83a9f8d344709a962 \ sha256 a185651c80c6d28f8c3937f0e6272eb6344efce3605cf8ff430eebe5a1e394d3 \ size 170728 \ 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/pmezard/go-difflib \ lock v1.0.0 \ rmd160 fc879bfbdef9e3ff50844def58404e2b5a613ab8 \ sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \ size 11409 \ github.com/pkg/diff \ lock 20ebb0f2a09e \ rmd160 f8336f7442e9394b64a6aad23a6ae1d6a230dfc4 \ sha256 086dfcc0449ef79f412e6308fd2ace2207a8a88cde2c86f13f77635673e08890 \ size 200592 \ github.com/pelletier/go-toml \ lock v2.2.3 \ rmd160 7384ee006e116df0c6a5437d4da3520fd2aac16b \ sha256 34218ff07934e45ca6968d1f1052e94c8ed969268ebef9e8c260152c549d3ca1 \ size 909291 \ 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/magiconair/properties \ lock v1.8.7 \ rmd160 df6e5639d11fcd7db0638153e247235b1cf17eb8 \ sha256 494b9c870a97ffc3b9377280412ab0c5afff549d109b28d484b02ced07713656 \ size 31419 \ github.com/leodido/go-urn \ lock v1.4.0 \ rmd160 ceb452492eb72d1cc179f3ea4e068e74ca22be3c \ sha256 8002ffa13ae89de5bc4c53b87e23fef9c75d1f09af1ae330022464bcbfef1c8a \ size 1998706 \ github.com/jinzhu/copier \ lock v0.4.0 \ rmd160 65599e8d5280dd006a398bfcab349e2c9a2bbce1 \ sha256 41b5aac6de7515accd0c53ac7aa07c92b24e36e338b7602c0442a12bda8e4a0b \ size 18301 \ github.com/inconshreveable/mousetrap \ lock v1.1.0 \ rmd160 88f9577df93ac0f8801d8960adc7f28e38867f3e \ sha256 f69af10ff08c0e87f92dac3ee5172d8ed02463725b74edfc8943ef018a1a632d \ size 5343 \ github.com/hexops/gotextdiff \ lock v1.0.3 \ rmd160 074c0503049683deb78ab28932d83837343f4ae9 \ sha256 6ff3e645743eb9831a6325dd3edcce1f1f5c2f918c4981cec89143252d5e1dac \ size 23250 \ github.com/google/go-cmp \ lock v0.6.0 \ rmd160 2c9f5dab93f8a0895591466fe4a07c5dd9166ae2 \ sha256 0d550825fae514f8a947ab7e42fcb874f509d9cbfa3ad2711d7570a25f31571a \ size 104795 \ github.com/goccy/go-yaml \ lock v1.13.0 \ rmd160 f71c40c1b597e5edc6fc6ef304b1ef7bf0bcd42b \ sha256 b08575b2114e39331488b5740d56b92ab632dbbe838fa8e06fb8164f5e0b7315 \ size 101011 \ github.com/goccy/go-json \ lock v0.10.3 \ rmd160 fe7349e754004e634bf9ca9cb56d39faa730ec5a \ sha256 91e3ae277344a4cf58b5ed50f85dccf89fbb93c6169bebbbb5937dfb2c2a18f7 \ size 399026 \ github.com/go-playground/validator \ lock v10.22.1 \ rmd160 06b2ed9fbfb3ae35683d4175fb1250ed1918ffb8 \ sha256 ff5587c5da46e126619ca88cf62a135df324b4ab7cc41e31f303108a52d2f062 \ size 270320 \ github.com/go-playground/universal-translator \ lock v0.18.1 \ rmd160 db17dd09961812609699c2c30016db647c4e18b6 \ sha256 4613483514bc2df0f103c7ddbb32341fcf4335874063e967001ed150d1b05325 \ size 37150 \ github.com/go-playground/locales \ lock v0.14.1 \ rmd160 762675a94ea6b0bb97d607041d41f9907e961a9e \ sha256 ea9d52236f0db72988de8dccc7cdba8162e7e27ba52d455a2c819d11ddef5a0b \ size 4365413 \ github.com/gabriel-vasile/mimetype \ lock v1.4.3 \ rmd160 7cc45a302c1d936bcaf3cc0343e72206dd59c0b4 \ sha256 a64578fd8d2a03e1ef76f8aabcf390baefbf1283815d8a5165e3f71b3889ad73 \ size 24986313 \ github.com/fatih/color \ lock v1.18.0 \ rmd160 cea38fd7fdad5b4b20f519ebd1301bc2c277f54b \ sha256 e085d36aabb91de9adfa7ff605a06a342b6bc583e3bbb8ce49605590f4e0bd71 \ size 12711 \ github.com/elliotchance/orderedmap \ lock v1.6.0 \ rmd160 48daf02cbcd72fe9e3f13380539039fbeb24f49d \ sha256 645dd77590ed24c962a5f79e430589496c86d3c0d47005e5eb336717ef776ea0 \ size 12549 \ github.com/dimchansky/utfbom \ lock v1.1.1 \ rmd160 182248653dc487311900d188180c74962909bd76 \ sha256 203f7bd33e56dfc3d1764493615e3171f4fb3edf5ee234628123e464406e77b1 \ size 8497 \ github.com/davecgh/go-spew \ lock v1.1.1 \ rmd160 7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \ sha256 e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \ size 42171 \ github.com/alecthomas/repr \ lock v0.4.0 \ rmd160 c955864f47bf3039484f1d57200d1331cd0d1987 \ sha256 424de5d9d2bb7b6f9b910c7e37f9d4a1a4f45a75b8d5f5eebd6aaca8b7595f6f \ size 8511 \ github.com/alecthomas/participle \ lock v2.1.1 \ rmd160 9c25ce5bb84ff462fa0d73cc347ddfb74465a7d9 \ sha256 52492e4bea09b95a105404243f0503f138b33d9c0c4be5891e6931cc8f12ed62 \ size 178558 \ github.com/alecthomas/assert \ lock v2.3.0 \ rmd160 eedc3e436287b78acc158df21a17222de11ca5c4 \ sha256 49ddf925cc07dcc607923624c87310b438a52ac6b1698c63f25aa1e3616c20b4 \ size 7825 \ github.com/a8m/envsubst \ lock v1.4.2 \ rmd160 b689c9d8284004e80b378d2e6f7889d7e5310ad1 \ sha256 5c3a965cea2d074db5e71f87380a4ca60c3775d39c2e65c63c9a1debde345d93 \ size 12314