# -*- 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        lucc nvimpager 0.13.0 v
github.tarball_from archive
revision            0

categories          sysutils
supported_archs     noarch
platforms           any
license             BSD
maintainers         {judaew @judaew} openmaintainer

description         Using neovim as a pager to view man pages, git diffs,\
                    whatnot with neovim's syntax highlighting and mouse support.
long_description    {*}${description}

checksums           rmd160  cc133041b3548f86800e1b19485d2a0d8dbeb4b5 \
                    sha256  8255c39697b213cb34dfd573d90c27db7f61180d4a12f640ef6e7f313e525241 \
                    size    33459

depends_build       port:scdoc
depends_run         port:bash \
                    path:bin/nvim:neovim

use_configure       no
build.pre_args      DESTDIR=${destroot} PREFIX=${prefix} VERSION=${version}

post-destroot {
    delete ${destroot}/usr
}
