# -*- 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/mr-karan/doggo 1.0.4 v go.offline_build no github.tarball_from archive revision 0 description Command-line DNS Client for Humans long_description doggo is a modern command-line DNS client (like dig) \ written in Golang. It outputs information in a neat \ concise manner and supports protocols like DoH, DoT and \ DNSCrypt as well. It supports DNS over HTTP, DNS over \ TLS, DNS over TCP/UDP, DNS over DNSCrypt, as well as JSON \ output. categories net sysutils installs_libs no license GPL-3 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 8b1e4e774d531fc3d170187076980632e188d54f \ sha256 d7b8c742680332b172ad64e4d625449537c89e2607b7d7fd83a34fdd737c039f \ size 2436385 build.cmd make build.pre_args VERSION=${version} build.args build-cli post-build { file mkdir ${worksrcpath}/completions foreach _shell {bash fish zsh} { system -W ${worksrcpath}/completions \ "sh -c '../bin/${name}.bin completions ${_shell} > ${name}.${_shell}'" } } destroot { xinstall -m 0755 \ ${worksrcpath}/bin/${name}.bin \ ${destroot}${prefix}/bin/${name} xinstall -d ${destroot}${prefix}/share/bash-completion/completions xinstall -m 0644 ${worksrcpath}/completions/${name}.bash \ ${destroot}${prefix}/share/bash-completion/completions/${name} xinstall -d -m 0644 ${destroot}${prefix}/share/zsh/site-functions xinstall -m 0644 ${worksrcpath}/completions/${name}.zsh \ ${destroot}${prefix}/share/zsh/site-functions/_${name} xinstall -d -m 0644 ${destroot}${prefix}/share/fish/vendor_completions.d xinstall -m 0644 ${worksrcpath}/completions/${name}.fish \ ${destroot}${prefix}/share/fish/vendor_completions.d/ xinstall -d ${destroot}${prefix}/share/${name}/examples copy ${worksrcpath}/config-api-sample.toml \ ${destroot}${prefix}/share/${name}/examples/ }