# -*- 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/jesseduffield/lazydocker 0.25.2 v
set git-commit      7e7aadc
# This line is for displaying commit in CLI only
revision            0

checksums           rmd160  d24de2cf7a4f3591a6a2d374c9dd794090ec323b \
                    sha256  405071220e5be9aa061c65d290e0347143b73ae0a3cc01df164f0105de2b53c4 \
                    size    13230483

categories          devel
installs_libs       no
license             MIT
maintainers         {@NicolaiSkye icloud.com:nicolaiskye} openmaintainer

description         The lazy way to manage everything docker

long_description    A simple terminal UI for both docker and docker-compose, \
                    written in Go with the gocui library

build.args-append   -ldflags=\" \
                        -X 'main.version=${github.tag_prefix}${version}' \
                        -X 'main.commit=${git-commit}' \
                        -X 'main.buildSource=MacPorts' \
                        -X 'main.date=not set' \
                    \" -o ./${name} .

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