# -*- 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           github  1.0

github.setup        troglobit inadyn 2.13.0 v
github.tarball_from releases
revision            0

homepage            https://troglobit.com/projects/inadyn/

description         \
    In-a-Dyn is a dynamic DNS client with multiple SSL/TLS library support

long_description    \
    Inadyn, or In-a-Dyn, is a small and simple Dynamic DNS, DDNS, client with \
    HTTPS support. By using a DDNS client like inadyn you can register an \
    Internet name with a DDNS provider, like FreeDNS. The DDNS client updates \
    your DNS record periodically and/or on demand when your IP address \
    changes. Inadyn can maintain multiple host records with the same IP \
    address, use a combination of a script, the address from an \
    Internet-facing interface, or default to using the IP address change \
    detector of the DDNS provider.

categories          net
installs_libs       no
license             GPL-2+
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  e085deaa46aee53084b765a27e4984d4a6affeef \
                    sha256  d08ca63a35896f2a809ba9b704da16ec6812b94dd410e7b3ea536a16d93860c2 \
                    size    346752

use_xz              yes

depends_build-append \
                    bin:pkg-config:pkgconfig

depends_lib-append  port:gnutls \
                    port:libconfuse \
                    port:nettle

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

notes "
    Configuration examples for ${name} are located in:

        ${prefix}/share/doc/inadyn/examples/

    Inadyn expects its configuration to be installed to:

        ${prefix}/etc/inadyn.conf
"
