# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 84512 2011-09-27 14:19:06Z snc@macports.org $

PortSystem			1.0
name				qca-tls
version				1.0
revision        1
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		http://delta.affinix.com/download/qca
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}
}

