# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 120004 2014-05-12 22:38:03Z blair@macports.org $

PortSystem      1.0

name            p11-kit
version         0.20.2
revision        1
license         Permissive
description     Provides a way to load and enumerate PKCS#11 modules and a standard \
                configuration setup for installing PKCS#11 modules in such a way that \
                they're discoverable.
long_description \
                ${description}
maintainers     devans openmaintainer
categories      security
platforms       darwin
homepage        http://p11-glue.freedesktop.org/p11-kit.html
master_sites    http://p11-glue.freedesktop.org/releases/

checksums       rmd160  78ca2c31149fbe398c72be32fcca9ea939562168 \
                sha256  04ed51d92fc46c2b632e13d73e0293090e9f8aa29c8aa8c6bc95c12475e5ef7c

depends_build   port:pkgconfig

depends_lib     port:desktop-file-utils \
                port:gettext \
                port:libtasn1 \
                port:libffi \
                port:libxslt

depends_run     path:share/curl/curl-ca-bundle.crt:curl-ca-bundle

configure.args  --with-trust-paths=${prefix}/share/curl/curl-ca-bundle.crt:${prefix}/etc/openssl \
                --disable-silent-rules

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
