# -*- 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.3 v.
github.tarball_from releases
while {[llength [split ${version} .]] < 3} {
    version         ${version}.0
}
revision            0
checksums           rmd160  0db156daebce6a0424fc2cd01293ca2aaf00c75f \
                    sha256  2e030cb0575d57d7d4010602b9bbaa1e7362c11ad349b109f823fad30c69dd10 \
                    size    182064

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
distname            ${name}-${version}-tarball
extract.suffix      .tgz
worksrcdir          ${name}

depends_build-append \
                    port:pkgconfig

depends_lib-append  port:ncurses \
                    port:readline
