# $Id: Portfile,v 1.5 2005/04/21 15:57:41 jberry Exp $

PortSystem 1.0

name		MacBiff
version		1.1.11
categories	aqua net
platforms	darwin
maintainers	phw@opendarwin.org
description	IMAP Email checker
long_description	MacBiff is a GPL'd Mac OS X 10.3 (and greater) "Biff" \
			Program. It periodically checks your IMAP server for \
			new email, and reports where in your folder hierarchy \
			your new mail resides.
homepage	http://www.forkit.org/macbiff/
master_sites	${homepage}/archive/
use_bzip2	yes
distname	macbiff-${version}
worksrcdir	${name}
checksums	md5 2bea0866c2d6fe05e8204cfb2e2f916d
patchfiles	patch-MacBiff.m

depends_lib	port:Growl

configure	{}

build.type	pbx
build.target	-buildstyle Deployment
build.args-append	OTHER_CFLAGS=-DUSE_GROWL

destroot {
	set appPath ${destroot}/Applications/DarwinPorts
	xinstall -m 755 -d ${appPath}
	file copy ${worksrcpath}/build/${name}.app ${appPath}
}
