# -*- 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/mightymoud/sidekick 0.6.6 v
go.offline_build    no
revision            0

description         \
    Bare metal to production ready in mins\; your own fly server on your VPS.

long_description    \
    {*}${description} Sidekick helps you along all the steps of deployment on \
    your VPS. From basic setup to zero downtime deploys, we got you\!

categories          sysutils
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  50d22311682e37850e7a6e45bd178facd7ddf2d0 \
                    sha256  174224422622158ee78d423ac3c25bb9265914983a1f9b5b2e14543dcb0fe939 \
                    size    10182540

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

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