# -*- 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/znscli/zns 0.6.0 v
go.offline_build    no
go.toolchain_min    1.26.0
revision            0

description         CLI tool for querying DNS records with readable, colored \
                    output.

long_description    zns is a command-line utility for querying DNS records, \
                    displaying them in a human-readable, colored format that \
                    includes type, name, TTL, and value.

categories          net
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  fc84a2eb63dabfaf8261e2146c70ffbb33b652c9 \
                        sha256  ca22ea3cdf0e46f79c64e5a7d442e4242d5d27acd6d4c031f677aabeac0c7b14 \
                        size    39992

