# -*- 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                liboauth
version             1.0.3
revision            2
license             MIT
categories          net
platforms           darwin
maintainers         nomaintainer

description         collection of POSIX-c functions implementing the OAuth Core \
                    RFC 5849 standard

long_description    ${description}

homepage            http://liboauth.sourceforge.net/
master_sites        sourceforge

checksums           rmd160  c9f3182e51b48ebae27f577ccb077d8263c52f9a \
                    sha256  0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f \
                    size    504950

depends_build       port:autoconf \
                    port:libtool \
                    port:pkgconfig

# hash/sign incompatible with openssl 1.1.0+, use nss to avoid conflict with libcurl
depends_lib         port:nss \
                    port:curl

configure.args-append \
                    --enable-nss

livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
