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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Auth-Yubikey_WebClient 4.02 ../../authors/id/M/MA/MASSYN
platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}
supported_archs     noarch

description         Authenticating the Yubikey against the Yubico Web API

long_description    Authenticate against the Yubico server via the Web API in Perl. Before \
                    you can use this module, you need to register for an API key at Yubico. \
                    This is as simple as logging onto <https://api.yubico.com/yms/getapi.php> \
                    and entering your Yubikey's OTP and a brief description. Once you have \
                    the API and ID, you need to provide those details to the module to work.

checksums           rmd160  d75887faea669f3a3e74815fb2cac52e953c0dab \
                    sha256  776fb87529261caf5c9ee7027425e36889fab1996a501cb5030b67b3c9c67bfe \
                    size    5649

# version 4.02 extracts into non-standard directory
worksrcdir          Auth-Yubikey_WebClient-master

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-digest-hmac \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-mime-base64 \
                    port:p${perl5.major}-uri
}
