# $Id: Portfile 57380 2009-09-10 09:03:55Z ryandesign@macports.org $

PortSystem 1.0

name            adium
version         1.2.5
categories      net aqua
maintainers     nomaintainer
description     a multiple protocol instant messaging client
long_description \
	Adium is a free instant messaging application. With Adium, you can \
	connect to any number of messaging accounts on any combination of \
	supported messaging services and then chat with other people using \
	those services.
homepage	http://www.adiumx.com
platforms	macosx
master_sites	{}
fetch.type      svn
svn.url         svn://svn.adiumx.com/adium/tags/AdiumX_${version}
worksrcdir      AdiumX_${version}

livecheck.type	regex
livecheck.url	http://trac.adiumx.com/wiki/AdiumVersionHistory
livecheck.regex	"Version (.+) "

use_configure   no

depends_lib	port:Growl
build.type      pbx
build.target    -project Adium.xcodeproj -target Adium
build.args      -configuration Deployment

destroot {
	set appPath ${destroot}/Applications/MacPorts
	xinstall -d ${appPath}
	file copy ${worksrcpath}/build/Deployment/Adium.app ${appPath}
}
