# -*- 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 57868 2009-09-17 21:55:58Z blb@macports.org $

PortSystem  1.0

name        libksba
version     1.0.7
categories  devel
maintainers nomaintainer
description X.509 and CMS library
homepage    http://www.gnupg.org/related_software/libksba/index.en.html
platforms   darwin
use_bzip2   yes

long_description \
    Libksba is a library to make the tasks of working with \
    X.509 certificates, CMS data and related objects more easy. It \
    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. It copes \
    with the version details X.509 protocols tend to have as well as \
    with the many different versions and dialects. Applications \
    must usually cope with all of this and it has to be coded over \
    and over again. Libksba hides this by providing just one \
    API which does the Right Thing.

master_sites    gnupg

checksums   md5     eebce521a90600369c33c5fa6b9bbbd8 \
            sha1    c8d269fb15869b59204ef3f5d46ceb2c44dbeab3 \
            rmd160  36acde91cb21f76388f26e8ebc5c9d61849f9b9e

depends_lib port:libgpg-error port:gettext port:libiconv
test.run    yes
test.target check

livecheck.type  regex
livecheck.url   http://mirrors.rootmode.com/ftp.gnupg.org/${name}/?O=D
livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)
