# $Id: Portfile,v 1.1 2005/11/16 21:23:25 blb Exp $

PortSystem			1.0
name				qca-tls
version				1.0
categories			devel crypto security
maintainers			blb@opendarwin.org
description			TLS plugin for Qt Cryptographic Architecture
long_description \
	This is a plugin to provide SSL/TLS capability to programs that utilize \
	the Qt Cryptographic Architecture (QCA).

platforms			darwin

homepage			http://delta.affinix.com/qca/
master_sites		${homepage}
use_bzip2			yes

checksums			md5 886b1f60fc31de3b1a0bd93281e27b73

depends_lib			port:qca lib:libssl:openssl

configure.pre_args	""
configure.args		--qtdir=${prefix}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/lib/qt3-plugins/crypto \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} libqca-tls.dylib \
		${destroot}${prefix}/lib/qt3-plugins/crypto
	xinstall -m 644 -W ${worksrcpath} COPYING README \
		${destroot}${prefix}/share/doc/${name}
}

