# -*- 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           golang 1.0

go.setup            github.com/dlvhdr/diffnav 0.11.0 v
go.offline_build    no
revision            0

description         A git diff pager based on delta but with a file tree, à \
                    la GitHub.

long_description    {*}${description}

categories          textproc devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  61f90bce305d602a3026b06022f6047e864b9264 \
                    sha256  df3879b12275bed16065ad9c08107c874445d265aa1fdc51d5f66a1f2fb7f392 \
                    size    520053

build.pre_args-append \
    -ldflags \"-X ${go.package}/pkg/version.Version=v${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
