# -*- 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/StackExchange/dnscontrol 4.36.1 v
go.offline_build    no
revision            0

checksums           rmd160  f842c7e0b358d1c5172986fe7275f9fd94aba7e0 \
                    sha256  2584fe62ac4f6895a4780ac82c2abc3a516638d650f51f8376c801694a5c2b03 \
                    size    5327743

homepage            https://dnscontrol.org

description         Synchronize your DNS to multiple providers from a simple DSL

long_description    \
    DNSControl is a system for maintaining DNS zones. It has two parts: a \
    domain specific language (DSL) for describing DNS zones plus software \
    that processes the DSL and pushes the resulting zones to DNS providers \
    such as Route53, Cloudflare, and Gandi. It can send the same DNS records \
    to multiple providers. It even generates the most beautiful BIND zone \
    files ever. It runs anywhere Go runs (Linux, macOS, Windows). The \
    provider model is extensible, so more providers can be added.

livecheck.url       ${github.homepage}/releases

categories          sysutils
installs_libs       no
license             MIT
maintainers         nomaintainer


build.args-append   -ldflags \"-s -w \
                                -X ${go.package}/v4/pkg/version.version=v${version} \"

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