# -*- 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.14.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  d9896bdb884e1f7862a2e7bdc4a72493846f659f \
                    sha256  001c49098690e4baa6857557b9edc564433825a1947ec368a1e52d63aa1715a3 \
                    size    32736

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
}
