# $Id: Portfile 119748 2014-05-05 14:46:35Z raimue@macports.org $

PortSystem      1.0
PortGroup       github 1.0

github.setup    rkitover vimpager 1.8.8
categories      sysutils
platforms       darwin
supported_archs noarch
license         Vim
maintainers     raimue openmaintainer

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

checksums       rmd160  a98ec3379e893019fa46376c60430dfb68a21962 \
                sha256  992eaadfe31a8d0efa93bd47ea3d237e8536575eb3cd323c5c39c2f0a0c1d82d

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
"
