# -*- 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/idursun/jjui 0.10.6 v
go.offline_build    no
revision            0

description         \
    Jujutsu UI \(jjui\) is a Text User Interface \(TUI\) designed for \
    interacting with the Jujutsu version control system.

long_description    {*}${description}

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

checksums           rmd160  d941310e6195d7da9b1fb6064f34d174e71610c4 \
                    sha256  8d5d8f73958b6bc0493ebfbbbf5dbb6035eb72d4ee1e84488b34d51f9c3a372e \
                    size    248595

depends_run         port:jujutsu

build.pre_args-append \
    -ldflags \" -X main.Version=${version} \"

build.args-append   ./cmd/${name}

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