# $Id: Portfile 86786 2011-11-04 05:20:35Z boeyms@macports.org $

PortSystem 1.0

name			courier-authlib
version			0.61.0
categories		security mail
platforms		darwin
maintainers		nomaintainer
description		Courier Authentication Library is a generic authentication API
long_description	${description}

homepage		http://www.courier-mta.org/authlib/
master_sites	sourceforge:courier
checksums		md5 f3dd6469c2f0b8debafed7fea4d84699 \
			sha1 0caf0f435411124b02fe2594b39feceff5b23159 \
			rmd160 91fb8ac8960659b7cc4ea9574e1af11fa8f7dc86
use_bzip2		yes

depends_lib		port:db44

configure.args	--mandir=${prefix}/share/man \
				--with-db=db \
				--without-authmysql \
				--without-authpgsql \
				--without-authldap \
				--without-authpam \
				-C
configure.cflags-append		-I${prefix}/include/db44
configure.ldflags-append	-L${prefix}/lib/db44

post-destroot {
	system "cd ${destroot}${prefix}/lib/courier-authlib && rm -f *.a *.la"
}

#livecheck.type		sourceforge
