# $Id: Portfile 52928 2009-06-25 22:34:25Z devans@macports.org $

PortSystem 1.0

name		grisbi
version		0.5.9
description       Easy Personnal Finance Manager for All.
long_description  Grisbi is a personnal accounting application. \
		  Grisbi can manage multiple accounts, currencies and users. It manages \
		  third party, expenditure and receipt categories, as well as budgetary \
		  lines, financial years, and other informations that makes it quite \
		  adapted for associations (except those that require double entry \
		  accounting).
maintainers	grisbi.org:gerald
categories	gnome
platforms	darwin
homepage	http://www.grisbi.org
master_sites	sourceforge
checksums	md5 040fd41c01b9075f84b7edb9b009bb67
depends_lib	lib:libgtk.2:gtk2 lib:libxml2.2.6.16:libxml2 lib:libofx.0:libofx
use_bzip2	yes
configure.args	--mandir=${prefix}/share/man
configure.cppflags-append "-L${prefix}/lib"

variant no_ofx description {Don't include LibOFX support} {
	depends_lib-delete	lib:libofx.0:libofx
	configure.args-append	--without-ofx
}

livecheck.regex "<title>${name} (\\d+(?:\\.\\d+)*) released.*</title>"
