# -*- 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.1 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  9dcb850d54f7f7cddcf71c21e2380a785abe12fb \
                    sha256  3c16a98502df01a2fa2b81467d5232cc1aa4c80427e2ecf9f7e74591d692e22c \
                    size    193235

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