# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem		1.0
PortGroup		xcode 1.0

name			IcyJuice
set my_name		"Icy Juice"
version			1.0.2
categories		aqua net
maintainers		nomaintainer
homepage		http://www.mitzpettel.com/software/icyjuice.html
description		Cocoa ICQ client

long_description	IcyJuice is a cocoa icq client with file transfers \
			support and multiple accounts lists.
			
master_sites	http://www.mitzpettel.com/download/
distname		${name}${version}src
extract.suffix	.tgz

checksums		md5 83fe12d8472733d799703fb9a0d84bee \
				sha1 1d8789eb1cf1e2d3d1d939e4a2705ad0c24aadba \
				rmd160 fbdaa97dea9a52ca1fcbae41e50339cef0a9b243

patchfiles		patch-libicq2000__src__FileTransferClient.cpp

# We cannot use xcode.project here because of #12429.
#xcode.project	"Icy Juice.xcodeproj"
build.args		"-project \"${my_name}.xcodeproj\""
destroot.args	"-project \"${my_name}.xcodeproj\""

post-destroot {
	xinstall -d ${destroot}${applications_dir}
	copy ${worksrcpath}/build/${xcode.configuration}/${my_name}.app \
		${destroot}${applications_dir}
}

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex "version (\\d+(?:\\.\\d+)*)"
