# -*- 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.12
revision            0
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  b1fb77b34fdf2459d0899a9fcb8e33f9b9485097 \
                    sha256  cafdf739b1ec4b276441c6aedae6411434bbd870071f66154b909cc6e2d9e8ba \
                    size    4706950

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}