# -*- 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

github.setup        dvorka hstr 3.1
while {[llength [split ${version} .]] < 3} {
    version         ${version}.0
}
revision            0
checksums           rmd160  ce9052b797caaf234702cffae787889cd222e479 \
                    sha256  4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5 \
                    size    180182

categories          shells
license             Apache-2
maintainers         {ryandesign @ryandesign} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Bash and Zsh shell history suggest box

long_description    HSTR is a command line utility that brings improved \
                    Bash command completion from the history. \
                    It aims to make completion easier and more efficient than Ctrl-r. \
                    Apart to the completion, history can be managed (you can remove \
                    commands that e.g. contain sensitive information like passwords) \
                    and bookmark your favorite commands.

homepage            https://me.mindforger.com/projects/hh.html
github.tarball_from releases
distname            ${name}-${version}-tarball
extract.suffix      .tgz
worksrcdir          ${name}

depends_build-append \
                    port:pkgconfig

depends_lib-append  port:ncurses \
                    port:readline
