# $Id: Portfile,v 1.10 2005/10/02 07:59:49 mij Exp $

PortSystem 1.0
name		opencdk
version		0.5.8
categories	devel
maintainers	mij@opendarwin.org
description	Open Crypto Development Kit
homepage	http://www.gnutls.org/
platforms	darwin

long_description OpenCDK provides basic parts of the OpenPGP message format.

master_sites	ftp://ftp.gnutls.org/pub/gnutls/${name}/ \
		ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/${name}/ \
		http://www.mirrors.wiretapped.net/security/network-security/${name}/ \
		ftp://ftp.mirrors.wiretapped.net/security/network-security/${name}/

checksums	md5 900c4dee7712845c19d7b2d2a93ea546

depends_lib	lib:libgcrypt.11:libgcrypt

configure.env	LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
		CFLAGS="-I/usr/include/malloc"

platform darwin 6 { configure.env LDFLAGS="-L${prefix}/lib" \
		      CPPFLAGS="-I${prefix}/include" \
		      CFLAGS="-I/usr/include/sys" }
