# -*- 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           cargo   1.0
PortGroup           github  1.0

github.setup        anordal shellharden 4.3.2 v
github.tarball_from archive
revision            0

description         The corrective bash syntax highlighter

long_description    Shellharden is a syntax highlighter and a tool to \
                    semi-automate the rewriting of scripts to ShellCheck \
                    conformance, mainly focused on quoting.  The default mode \
                    of operation is like cat, but with syntax highlighting in \
                    foreground colors and suggestive changes in background \
                    colors.

categories          devel sysutils
installs_libs       no
license             MPL-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  20b862c13847445aea3c3ab5932b2cd72e51cfee \
                    sha256  3a6721c3409c70449c24a5b33f83d0d05026f2318fe052db5c6d0834e2b29c6c \
                    size    194166

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
