# -*- 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.12.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  8b52cf4234dbe87d41628f4f6b4d91729b3558b2 \
                    sha256  e64c4386b6f42bbace589b847f22823a755b59f14a277a5f556fef0d99069245 \
                    size    341904

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
"
