# -*- 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/mvdan/sh 3.10.0 v name shfmt categories devel maintainers {amake @amake} openmaintainer license BSD description Autoformat shell script source code long_description A shell script formatter supporting POSIX shell, Bash, and mksh. go.package mvdan.cc/sh checksums ${distname}${extract.suffix} \ rmd160 b277678844d42d5e5180ab9a5e5c1fb082274381 \ sha256 2abdddd2f1cf0ed85119b80b47a6de1ef474a90d6635dc373be629931a366ef6 \ size 226334 go.vendors mvdan.cc/editorconfig \ repo github.com/mvdan/editorconfig \ lock v0.3.0 \ rmd160 2dfecbb0d7f214f64774f5305c3a144a3f1ba4ed \ sha256 d19f7976ee4952203276428711a59b00c9e712bf92eb4124701cba0f6c3d2c4f \ size 10288 \ golang.org/x/tools \ lock v0.22.0 \ rmd160 9efcd715b413242db2a6e76ddd83cf2602a91c43 \ sha256 93f5232ec3b366ff222626155748995e724f19c2770434dda439983b331d4bd7 \ size 3853894 \ golang.org/x/term \ lock v0.25.0 \ rmd160 ca833ac737fee5ec966abbb66a96939a99bb0cc4 \ sha256 b7e1430c8d62c201eeb85b4dabd2801c0bbe7e83cdeb71c35f3e4fa44faed0ad \ size 14759 \ golang.org/x/sys \ lock v0.26.0 \ rmd160 19987e0da1912ad52b2b04531f53e61b342592e6 \ sha256 4f47aa2c6f4fede87b4ff8bfb3da47c6b1ddc10bfdb2a5d85a97131f6a459313 \ size 1509195 \ golang.org/x/sync \ lock v0.8.0 \ rmd160 753a4804058e3be785a5d00aea60bc6950baa709 \ sha256 9f9f999d50ea1bbba9f7d9a629d594da7e221eeb4d54216ef480d1a8546fa817 \ size 18185 \ github.com/rogpeppe/go-internal \ lock v1.13.1 \ rmd160 e5ca6d61da75f8a4093a42ba756d1b8cced6d2ef \ sha256 8a0ba057c15bed0feb0497cfd0451c6622081c0026ecca6fc3cc03faeb9c93ed \ size 116450 \ github.com/muesli/cancelreader \ lock v0.2.2 \ rmd160 cbc757f0d680959cea46000a5dd74e63ddbb8a15 \ sha256 33f793cd6fbf7733ed7cba381920606b4917ba472148f85a5fd0965477146fc8 \ size 9431 \ 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/google/renameio \ lock v2.0.0 \ rmd160 3e5bee752f1d83bcb6b2598ff5fdc2be13f69cfc \ sha256 7aba06e13c302f23c133799fbc596417832109f674e35b686a9e19223968441c \ size 14223 \ github.com/google/go-cmp \ lock v0.6.0 \ rmd160 2c9f5dab93f8a0895591466fe4a07c5dd9166ae2 \ sha256 0d550825fae514f8a947ab7e42fcb874f509d9cbfa3ad2711d7570a25f31571a \ size 104795 \ github.com/go-quicktest/qt \ lock v1.101.0 \ rmd160 33a688f772ef1b90c8f1b3c250a2f9438d1f6c75 \ sha256 616b44a001d7852b3f17a7d0f3f64d565396b59f13c33637195ff0c5b302c4a5 \ size 27438 \ github.com/creack/pty \ lock v1.1.23 \ rmd160 8a58f42b679d2538e9a22ab145f95daace55245e \ sha256 1b22966acc828eae880e076d7d60e7b9f2580dfeb228b0ae7e2e051ff994061c \ size 20201 build.pre_args -ldflags '-X main.version=${version}' build.post_args ${go.package}/cmd/shfmt depends_build-append port:scdoc post-build { system -W ${worksrcpath} "scdoc < cmd/shfmt/shfmt.1.scd | gzip > shfmt.1.gz" } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin xinstall -m 0644 ${worksrcpath}/shfmt.1.gz ${destroot}${prefix}/share/man/man1 } github.livecheck.regex {([0-9.]+)}