# $Id: Portfile,v 1.6 2006/08/08 07:07:52 yeled Exp $

PortSystem 1.0
name        libksba
version     0.9.12
categories  devel
maintainers yeled@opendarwin.org
description X.509 and CMS library
homepage    http://www.gnupg.org/(en)/related_software/libksba/index.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    ftp://ftp.gnupg.org/gcrypt/alpha/libksba/ \
                ftp://ftp.planetmirror.com/pub/gcrypt/alpha/libksba

checksums   md5 4d40a09134c5a0d2dcc6416f9abdcc98

depends_lib port:libgpg-error port:libgcrypt

configure.args  --infodir=${prefix}/share/info

patchfiles  patch-alloca

# Yuck
post-destroot {
    file delete ${destpath}/${prefix}/share/info/dir
}
