# -*- 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/grafana/jsonnet-language-server 0.16.0 v

revision            0
categories          devel
maintainers         nomaintainer
license             AGPL-3

description         A Language Server Protocol (LSP) server for Jsonnet

long_description    $description

# Allow Go to fetch dependencies at build time
go.offline_build    no

build.args          -ldflags \"-X main.version=v${version}\"

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

checksums           ${distname}${extract.suffix} \
                        rmd160  d74b9fe65e49b4e813eb368b660877e4cb84cad3 \
                        sha256  616fdfc5a5c9447762c1c1bb1522053d923d0415a68937ec48385eca5d49c2fa \
                        size    1120290

