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

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
