# -*- 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    Yubico yubico-c-client 2.15 ykclient-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums       rmd160  0b435eef7e071f34c472648ecf406ad338a2b750 \
                sha256  e05786fbca1e4abe601035727a5d81d0fb6af1fe2dfae413535ce21b8f2c7e28

# I'm explicitly not marking this openmaintainer
maintainers     {cal @neverpanic}

categories      security
description     C library to validate a YubiKey OTP against a validation server
long_description \
                Library to validate YubiKey one-time-passwords against online validation \
                servers, such as the Yubico YubiCloud.

platforms       darwin
license         BSD

depends_lib     port:curl \
                port:libyubikey

depends_build   port:help2man \
                port:pkgconfig

patchfiles      patch-configure.ac-automake-1.12-compatibility.patch

use_autoreconf  yes