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

PortSystem			1.0
name				psi
version				0.9.3
categories			net chat
maintainers			blb@opendarwin.org
description			jabber-based instant messaging client
long_description \
	Psi is a capable Jabber client aimed at experienced users.  Its design \
	goals are simplicity and stability.

platforms			darwin

homepage			http://psi.affinix.com/
master_sites		sourceforge
use_bzip2			yes

checksums			md5 d20f3bb530235a246bc2d92308089744

depends_lib			lib:libz:zlib port:qt3-mac port:qca-tls

configure.args		--qtdir=${prefix} --with-qca-inc=${prefix}/include \
					--with-qca-lib=${prefix}/lib

destroot {
	xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
	file copy ${worksrcpath}/src/psi.app ${destroot}/Applications/DarwinPorts
	system "strip \
		${destroot}/Applications/DarwinPorts/psi.app/Contents/MacOS/psi"
}

