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

name                oath-toolkit
version             2.6.13
revision            1
categories          security devel
maintainers         {alum.wpi.edu:arno+macports @fracai} openmaintainer
license             GPL-3+

description         The OATH Toolkit contains a shared library, command line \
                    tool, and PAM module for one-time password authentication.

long_description    The OATH Toolkit contains a shared library, command line \
                    tool, and PAM module that makes it possible to build \
                    one-time password authentication systems. Supported \
                    technologies include the event-based HOTP algorithm and \
                    the time-based TOTP algorithm. OATH is the Open \
                    AuTHentication organization which specify the algorithms.

homepage            https://www.nongnu.org/oath-toolkit/
master_sites        savannah

checksums           rmd160  ebb0e532933abb252ead4b3e14e101dd581acc62 \
                    sha256  5b5d82e9a4455206d24fcbd7ee58bf4c79398a2e67997d80bd45ae927586b18b \
                    size    3847530

depends_build-append \
                    port:gtk-doc \
                    path:bin/pkg-config:pkgconfig

depends_lib-append \
                    port:libtool \
                    port:libxml2 \
                    port:xmlsec

configure.args-append \
                    --disable-silent-rules

livecheck.type      regex
livecheck.url       https://download.savannah.gnu.org/releases/oath-toolkit/
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
