a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21527 2007-01-27 00:31:52Z mas@macports.org $
PortSystem 1.0
name gnucash-devel
svn.tag 15425
# see http://svn.gnucash.org/trac/timeline
version 2.0.99.svn-${svn.tag}
revision 0
categories gnome x11
maintainers mas@seligma.com
description financial-accounting software
long_description GnuCash is a personal and small-business \
financial-accounting software. -- \
gnucash-devel fetches the current developer version from \
subversion, then tries to build and install it. This \
may or may not work. It cannot be installed along the \
regular (stable) version. If you want to try it, it is \
recommended that you `port deactivate gnucash', then \
`port install gnucash-devel', so that you can go back \
to a working copy in case anything goes wrong.
homepage http://www.gnucash.org/
depends_lib lib:XML/Parser.pm:p5-xml-parser \
port:glib1 \
port:glib2 \
port:gconf \
lib:libpopt:popt \
lib:libgnomeui:libgnomeui \
lib:libgnomeprintui:libgnomeprintui \
lib:libgtkhtml-3:libgtkhtml3 \
lib:libgsf:libgsf \
lib:libgoffice:goffice \
lib:aqbanking:aqbanking \
lib:Finance/Quote.pm:p5-finance-quote \
port:gnucash-docs
depends_build bin:glibtoolize:libtool port:automake bin:swig:swig
fetch.type svn
svn.url http://svn.gnucash.org/repo/gnucash/trunk/
distname trunk
pre-configure {
system "cd ${worksrcpath} && LIBTOOLIZE=glibtoolize ./autogen.sh"
}
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
CFLAGS="-L${prefix}/lib -I${prefix}/include" \
LDFLAGS=-L${prefix}/lib
configure.args --disable-glibtest --disable-debug --disable-profile \
--disable-dependency-tracking --enable-hbci
variant without_hbci {
depends_lib-delete lib:aqbanking:aqbanking
configure.args-delete --enable-hbci
}
variant enable_ofx {
depends_lib-append lib:libofx:libofx
configure.args-append --enable-ofx
}
variant without_quotes {
depends_lib-delete lib:Finance/Quote.pm:p5-finance-quote
}
variant without_docs {
depends_lib-delete port:gnucash-docs
}