# $Id: Portfile 92033 2012-04-16 15:46:42Z raimue@macports.org $

PortSystem      1.0
PortGroup       github 1.0

github.setup    rkitover vimpager 1.6.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  26e90848be466f25672afe513e7fae172431905f \
                sha256  38f739c469bbe08aca2cfaa13b69eae56d202f58c3df4fc3988012b9c2f2c474

patchfiles      patch-share-man.diff

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
"
