# -*- 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.3 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 56b3e3796acf7c8bbece819c2da82b15e7d36b01 \ sha256 ea950f5622480fc0ff3708c52589426a737cd4ec887a52922a74efa1be8f2fbf \ size 297938 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/xerrors \ lock 04be3eba64a2 \ rmd160 92a34d6a3f70750cc9c5859f5495515fa59d13d5 \ sha256 af5aefde77a5356f8d36150899ed5283ae8fc10a5576f2705d9126d3d71639e8 \ size 13750 \ golang.org/x/text \ lock v0.16.0 \ rmd160 ad16ff67d5532f40acbed01650b05611f16b9179 \ sha256 7d2a383b1ec6abcd1a6d29d65fcc8f8adaf42afc9ebe39ba38a7673bbc20a2fa \ size 8972461 \ golang.org/x/sys \ lock v0.22.0 \ rmd160 462d25bfdd648d7c117aa800e316e4bc1b867438 \ sha256 eb16e06abd89ba057fbfbc74bc30590f02c8ed5570b93753f1b84da610f26c39 \ size 1498756 \ golang.org/x/net \ lock v0.27.0 \ rmd160 a49605d21e29939bbca6da6403622c7f8ae4c1b2 \ sha256 70d8634223c511dd47316a63795a12540381c2310e801d03e1e830f286abe41c \ size 1454731 \ golang.org/x/crypto \ lock v0.25.0 \ rmd160 6688a194e0921d87c06e727ec5b92e31669f3590 \ sha256 49ad1010126b0fa1c5f778be5f0ce0d04545333177ccf4b83921e1db44bdc30b \ size 1796452 \ 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.2 \ rmd160 e5dae680f17a37b0675f8a71e873cac68f0f0262 \ sha256 ad3959ec620bf7d2aac6a3f407bf4e54bc921798ecd114b720678bf98d3ff4b5 \ size 909095 \ 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.2.0 \ rmd160 511c197355986e3222e1434446d1085bca6aec19 \ sha256 2a2dcbad59406556838a985812e86b45eea0815b8b563e786783b084af6f0150 \ size 1102403 \ 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.5.9 \ rmd160 9832ae80123461baed8aa20e830199c0e21e337b \ sha256 3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \ size 104431 \ github.com/goccy/go-yaml \ lock v1.12.0 \ rmd160 0cec85b33dc9585c551b1652c8ea125ab19c0662 \ sha256 b6abb9bdf6e4d2d26379c59b404e6c617ea2e78deaa9b8f47d5858d2e1dd825b \ size 100455 \ github.com/goccy/go-json \ lock v0.10.3 \ rmd160 fe7349e754004e634bf9ca9cb56d39faa730ec5a \ sha256 91e3ae277344a4cf58b5ed50f85dccf89fbb93c6169bebbbb5937dfb2c2a18f7 \ size 399026 \ github.com/go-playground/validator \ lock v10.4.1 \ rmd160 a0e525cee45ce0ce3d83d4e5036e3728b06666fa \ sha256 09ea3cbaf0f7a06c9c5a1230403657d883a34d83857abc4837a5004c27cfb7b6 \ size 173196 \ github.com/go-playground/universal-translator \ lock v0.17.0 \ rmd160 af69564aaac9a8c02b17d40bfbc057bf301684f1 \ sha256 4272670a016909c65e8789f62f5804cf54c045b010d4d3d29d71f46fc791db95 \ size 36838 \ github.com/go-playground/locales \ lock v0.13.0 \ rmd160 89550915ead759ae6afd9b3a7db1a06dc40effd1 \ sha256 3e0a7c7223e05b9e563f86d0890899e23ddf1017db3e95817caffa848679b722 \ size 4227226 \ github.com/fatih/color \ lock v1.17.0 \ rmd160 9d0962ae868c99aad71d9f8ad21b58a219fca1cc \ sha256 861f4ff9c6566b6e097ad4fe53248461dcad57fbb2c201413d64206f7d2b02b2 \ size 12339 \ 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