# $Id: Portfile 56090 2009-08-24 06:29:50Z ryandesign@macports.org $

PortSystem              1.0

name                    libofx
version                 0.9.1
categories              devel
maintainers             nomaintainer
description             A parser and an API designed to allow applications \
                        to very easily support OFX command responses
long_description        This is the LibOFX library. It is a parser and an API \
                        designed to allow applications to very easily support \
                        OFX command responses, usually provided by financial \
                        institutions for statement downloads. To my knowledge, \
                        it is the first working OpenSource implementation of \
                        the OFX (Open Financial eXchange) specification on \
                        the client side.
homepage                http://libofx.sourceforge.net/
platforms               darwin
master_sites            sourceforge

checksums               md5     e634f47ca12e82d860912d48c93b8e50 \
                        sha1    a12110ddcbff596e26496865570fb4dcb75c08d0 \
                        rmd160  84b139cb39006f8f6433d490d72e83f103156952

depends_build           path:bin/pkg-config:pkgconfig
depends_lib             port:opensp

configure.args          --with-opensp-includes=${prefix}/include/OpenSP \
                        --with-opensp-libs=${prefix}/lib

platform darwin 8 {
    patchfiles-append   patch-ofx_preproc.cpp.diff
}
