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

PortSystem 1.0
name        libassuan
version     0.6.10
categories  devel
maintainers yeled@opendarwin.org
description Assuan IPC Library
homepage    http://www.gnupg.org/(en)/related_software/libassuan/index.html
platforms   darwin

long_description \
        Libassuan is a small library implementing the so-called \
        Assuan protocol. This protocol is used for IPC between \
        most newer GnuPG components. Both, server and client side \
        functions are provided.

master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/alpha/libassuan/ \
        ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/libassuan/ \
        ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/

checksums   md5 4cde037c3fcb2f0eeb695b1db6e56bba

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

variant darwin {
    patchfiles  patch-assuan-domain-connect.c
}

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