# $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp@macports.org $

PortSystem			1.0
name				qca-tls
version				1.0
categories			devel crypto security
maintainers			nomaintainer
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}
}

