It looks like the MacPorts version of shellcheck is substantially out-of-date[1].
`brew info shellcheck` shows just three (build-time) dependencies: cabal-install, ghc, and pandoc.
[1]: https://github.com/macports/macports-ports/commits/master/de...
Yes, it hasn't been updated because dependencies have to be updated first. See recent discussion on updating ghc: https://trac.macports.org/ticket/48899#comment:43.
Oh thanks! That's a fascinating discussion.
Yeah, probably is, I only use macports as my computer is substantially out of date (2006)! But even my 'port info shellcheck' (0.3.8) only says:
Build Dependencies: apple-gcc42
Library Dependencies: ghc, hs-json, hs-mtl, hs-parsec, hs-quickcheck-devel, hs-regex-tdfa
"The following dependencies will be installed: autoconf automake bzip2 clang-3.3 clang-4.0 clang_select cmake curl curl-ca-bundle db48 expat gcc6 gdbm ghc ghc-bootstrap glib2 gmake gmp help2man hs-json hs-mtl hs-parsec hs-primitive hs-quickcheck-devel hs-random hs-regex-base hs-regex-tdfa hs-syb hs-text hs-tf-random icu isl ld64 ld64-97 legacy-support libarchive libcxx libedit libffi libgcc libgcc6 libgcc7 libidn2 libmpc libomp libpsl libtool libunistring libuv libxml2 libxslt llvm-3.3 llvm-3.5 llvm-4.0 llvm_select lz4 lzo2 m4 mpfr openssl p5.28-locale-gettext pcre perl5 perl5.26 perl5.28 pkgconfig python27 python2_select python_select readline sqlite3 texinfo xar xattr zlib zstd Continue [Y/n]:" ..uh maybe not right now.