# $Id$

PortSystem          1.0
PortGroup           haskell 1.0

haskell.setup       ShellCheck 0.3.8
name                shellcheck
checksums           rmd160  18780082aa13e56f84fdd3bd0ddbcb98ccefb117 \
                    sha256  c185b77166724c06531b3e07b7a8353c0451809a1f60e9f6756d29247853651a

license             GPL-3+
maintainers         cal openmaintainer
platforms           darwin
homepage            https://github.com/koalaman/shellcheck

# needs hs-quickcheck >= 2.7.4
depends_lib-append  port:hs-json \
                    port:hs-mtl \
                    port:hs-parsec \
                    port:hs-quickcheck-devel \
                    port:hs-regex-tdfa

description         ShellCheck, a static analysis tool for shell scripts
long_description    \
    The goals of ShellCheck are: \
    \n - To point out and clarify typical beginner's syntax issues, that causes a shell to give cryptic error messages. \
    \n - To point out and clarify typical intermediate level semantic problems, that causes a shell to behave strangely and counter-intuitively. \
    \n - To point out subtle caveats, corner cases and pitfalls, that may cause an advanced user's otherwise working script to fail under future circumstances.