# $Id: Portfile 78708 2011-05-18 19:39:14Z mk@macports.org $

PortSystem              1.0

name                    libofx
version                 0.9.4
categories              devel
maintainers             mk 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     f2419bf8d01c0cff74efe7084e0a26c5 \
                        sha1    7370245c011ac4ea9313ba24a88c70e0eb9c317b \
                        rmd160  f42cf37a425692bcb0007586601683244e036656

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
}

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/libofx/files/libofx/
livecheck.regex     "libofx-(\\d+\\.\\d+\\.\\d+)\\.tar"

