# -*- 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
# $Id: Portfile 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Auth-Yubikey_WebClient 2.00 ../../authors/id/M/MA/MASSYN
revision            2
platforms           darwin
maintainers         l2g
license             Artistic 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           sha1    5941fc10782f4405056afbbeb1f62270dc27a009 \
                    rmd160  2f6e3138945f5d54c1b791f31c4c8a0977213562

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