# -*- 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$

PortSystem          1.0

name                libksba
version             1.3.5
categories          devel security
platforms           darwin
license             GPL-3+
maintainers         larryv openmaintainer

description         X.509 and CMS library
long_description    Libksba is a library to make the tasks of working \
                    with X.509 certificates, CMS data and related \
                    objects more easy. It provides a highlevel \
                    interface to the implemented protocols and \
                    presents the data in a consistent way. There is no \
                    more need to worry about all the nasty details of \
                    the protocols. The API gives the C programmer an \
                    easy way of interacting with the data.
homepage            https://www.gnupg.org/related_software/libksba

depends_lib         port:gettext \
                    port:libgpg-error \
                    port:libiconv

master_sites        gnupg
use_bzip2           yes
checksums           rmd160  ee7c752196ae89ce798007b076e8eb695d6c4ea9 \
                    sha256  41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340

test.run            yes
test.target         check

livecheck.type      regex
livecheck.url       ftp://ftp.gnupg.org/gcrypt/${name}/
livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)