# -*- 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/gravitl/netclient 0.20.3 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0

categories          net
maintainers         {@Ci7rix unset.ch:max+github} openmaintainer
license             Apache-2

description         Client for Netmaker networks.
long_description    Netmaker automates a secure superhighway between devices, clouds, virtual machines, and servers using WireGuard.

checksums           ${distname}${extract.suffix} \
                    rmd160  8669a8f6bbe5425e10daac5a702a1046577c92a7 \
                    sha256  3cf2c74b6835cdf7d2d3403a845c79182d6d9a31a9af23b7d22445546c932b3b \
                    size    9269165

go.offline_build no

startupitem.create  yes
startupitem.executable \
                    ${prefix}/bin/${name} daemon

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