PortSystem      1.0
PortGroup       github 1.0

github.setup    rkitover vimpager 2.06
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories      sysutils
platforms       any
supported_archs noarch
license         Vim
maintainers     nomaintainer

description     Use vim as a pager
long_description \
    Use vim as a pager, for example as a replacement for less.

checksums       rmd160  fc6e37da8b053cd6195215960118f3c755c16f60 \
                sha256  ae824388315a7decf4265a24560494eb38692aae08edf18d237d7ac347bc3f1d

depends_run     bin:vim:vim

use_configure   no
build {}
destroot.args   PREFIX=${prefix}

notes "
To use this tool as as your default PAGER, configure the following in your\
shell startup file, for example in your .bashrc:

    export PAGER=vimpager
    alias less=\$PAGER
    alias zless=\$PAGER
"
