# $Id: Portfile 58242 2009-09-24 20:56:49Z toby@macports.org $

PortSystem	1.0
PortGroup	xcode 1.0

name		MacBiff
version		1.1.11
revision	1
categories	aqua net
maintainers	nomaintainer
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}

patchfiles	patch-main.m

checksums	md5 2bea0866c2d6fe05e8204cfb2e2f916d \
			sha1 63efebd8a5763f29abfc4c021ebc64cc7ee984c1 \
			rmd160 f40a9f27dd1f395d6c53ae160c63b01ecb6a2a8d

universal_variant no

variant growl description {Add Growl support} {
	depends_lib-append		port:Growl
	xcode.build.settings	OTHER_CFLAGS=-DUSE_GROWL
	reinplace "s|AppBridge||" ${worksrcpath}/${name}.m
}

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

