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

github.setup        zsh-users zsh-syntax-highlighting 0.8.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

categories          sysutils shells

maintainers         {@danchr danchr} openmaintainer

description         Fish shell-like like syntax highlighting for Zsh.

long_description    This package provides syntax highlighing for the shell zsh. \
                    It enables highlighing of commands whilst they are typed at \
                    a zsh prompt into an interactive terminal. This helps in \
                    reviewing commands before running them, particularly in \
                    catching syntax errors. Please note that you must load ${name} \
                    after all other custom widgets, at the end of your .zshrc \
                    file.

license             BSD

platforms           any
supported_archs     noarch

checksums           rmd160  a05ac72e372c4012e5be7cb5d62031eebad2ad64 \
                    sha256  0e329871928620b6f521bf366dfe8f8ddf4b03d97f8fa3eb6af25a26a6ed9b21 \
                    size    155949

depends_run-append  path:bin/zsh:zsh

test.run            yes
test.args-append    ZSH="${prefix}/bin/zsh"
test.target         test

github.livecheck.regex {([^\"-]+)}
