# -*- 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/Phantas0s/devdash 0.5.0 v
revision            0

description         \
    Highly Configurable Terminal Dashboard for Developers and Creators

long_description    \
    DevDash is a highly configurable terminal dashboard for developers and \
    creators who want to choose and display the most up-to-date metrics they \
    need, in one place.

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

checksums           rmd160  f033d1f58306ed9a1ee46330492f872ba1a683fb \
                    sha256  633a0a599a230a93b7c4eeacdf79a91a2bb672058ef3d5aacce5121167df8d28 \
                    size    1461715

# Allow Go modules so that we can build vendored dependencies
go.offline_build no
build.pre_args-append \
    -ldflags \"-X ${go.package}/cmd.current=${version}\"

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