[Midnightbsd-cvs] mports: mports/finance: Add open finance exchange compat lib

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Apr 28 22:35:43 EDT 2008


Log Message:
-----------
Add open finance exchange compat lib

Modified Files:
--------------
    mports/finance:
        Makefile (r1.2 -> r1.3)

Added Files:
-----------
    mports/finance/libofx:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/finance/libofx/files:
        patch-Makefile.in (r1.1)
        patch-inc_libofx.h (r1.1)
        patch-lib_ofx_preproc.cpp (r1.1)
        patch-lib_ofx_utilities.cpp (r1.1)
        patch-ofx2qif_ofx2qif.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/finance/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L finance/Makefile -L finance/Makefile -u -r1.2 -r1.3
--- finance/Makefile
+++ finance/Makefile
@@ -3,6 +3,7 @@
 
     COMMENT = Monetary, financial and related applications
 
+    SUBDIR += libofx
     SUBDIR += opentaxsolver
     SUBDIR += wmstock
 
--- /dev/null
+++ finance/libofx/pkg-descr
@@ -0,0 +1,24 @@
+LibOFX is an API designed to allow applications to very easily support
+OFX command responses, usually provided by financial institutions.
+
+LibOFX was implemented directly from the full OFX 1.6 spec, and
+currently supports:
+-Banking transactions and statements
+-Credit card and statements
+                                                                                
+For the 1.0 release, it should also support:
+-Header parsing
+-DTD autodetection
+-OFX 2.0
+-Currency conversion
+
+Somewhere in the future:
+-investment transactions.
+
+You should read the file doc/implementation_notes.txt
+                                                                                
+This is an ALPHA release.  It really works and is not vaporware, but the
+API is still subject to change, and several OFX structures are not fully
+implemented, notably currency conversions and the <PAYEE> aggregate.
+
+WWW: http://libofx.sourceforge.net/
--- /dev/null
+++ finance/libofx/pkg-plist
@@ -0,0 +1,417 @@
+bin/ofx2qif
+bin/ofxconnect
+bin/ofxdump
+include/libofx/libofx.h
+lib/libofx.a
+lib/libofx.la
+lib/libofx.so
+lib/libofx.so.4
+libdata/pkgconfig/libofx.pc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classLibofxContext.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classNodeParser.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOFCApplication.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOFXApplication.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAccountContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAccountContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAccountInfoRequest.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAccountInfoRequest.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAggregate.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxAggregate.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxBalanceContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxBalanceContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxBankTransactionContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxBankTransactionContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxDummyContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxDummyContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxGenericContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxGenericContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxInvestmentTransactionContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxInvestmentTransactionContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxMainContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxMainContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxPaymentRequest.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxPaymentRequest.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxPushUpContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxPushUpContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxRequest.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxRequest.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxSecurityContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxSecurityContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatementContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatementContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatementRequest.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatementRequest.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatusContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxStatusContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxTransactionContainer.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classOfxTransactionContainer.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1fixed__depth__iterator.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1fixed__depth__iterator.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1iterator__base.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1iterator__base.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1iterator__base__less.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1post__order__iterator.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1post__order__iterator.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1pre__order__iterator.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1pre__order__iterator.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1sibling__iterator.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree_1_1sibling__iterator.png
+%%PORTDOCS%%%%DOCSDIR%%/html/classtree__node__.html
+%%PORTDOCS%%%%DOCSDIR%%/html/config_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/context_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/context_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/file__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/file__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/file__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/file__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/files.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2blank.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2doc.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2folderclosed.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2folderopen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2lastnode.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2link.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2mlastnode.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2mnode.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2node.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2plastnode.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2pnode.png
+%%PORTDOCS%%%%DOCSDIR%%/html/ftv2vertline.png
+%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x62.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x63.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x64.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x65.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x66.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x67.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x68.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x69.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x6c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x6d.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x6e.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x6f.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x70.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x72.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x73.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x74.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x75.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x76.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x77.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_0x7e.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x62.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x63.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x64.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x65.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x66.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x67.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x69.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x6c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x6d.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x6e.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x6f.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x70.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x72.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x73.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x74.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_func_0x7e.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_type.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x62.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x63.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x64.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x65.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x66.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x68.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x69.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x6c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x6d.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x6e.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x6f.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x70.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x72.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x73.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x74.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x75.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars_0x76.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2context_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2context_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2file__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2file__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2file__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2file__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2getopt1_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2getopt_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2gnugetopt_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2messages_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2messages_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2messages_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2messages_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofc__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofc__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofc__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofc__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__aggregate_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__aggregate_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__account_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__account_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__main_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__main_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__security_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__security_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__containers_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__containers_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__error__msg_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__error__msg_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__statement_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__request__statement_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__utilities_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__utilities_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__utilities_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2ofx__utilities_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_88_82_2lib_2tree_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2context_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2context_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2file__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2file__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2file__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2file__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2getopt1_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2getopt_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2gnugetopt_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2messages_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2messages_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2messages_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2messages_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofc__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofc__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofc__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofc__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__aggregate_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__aggregate_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__account_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__account_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__generic_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__generic_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__main_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__main_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__security_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__security_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__transaction_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__container__transaction_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__containers_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__containers_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__containers__misc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__containers__misc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__error__msg_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__error__msg_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__statement_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__request__statement_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__utilities_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__utilities_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__utilities_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2ofx__utilities_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2tree_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2win32_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fx-0_89_80_2lib_2win32_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/getopt1_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/getopt_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x63.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x64.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x65.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x66.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x69.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x6c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x6d.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x6f.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x70.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x71.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x72.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x73.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x74.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x75.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_0x77.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_defs.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_type.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/gnugetopt_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/hierarchy.html
+%%PORTDOCS%%%%DOCSDIR%%/html/inc_2libofx_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/inc_2libofx_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/libofx-0_88_82_2inc_2libofx_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/libofx-0_88_82_2inc_2libofx_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/libofx-0_89_80_2inc_2libofx_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/libofx-0_89_80_2inc_2libofx_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/main.html
+%%PORTDOCS%%%%DOCSDIR%%/html/main__doc_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/messages_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/messages_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/messages_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/messages_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespaceOfxPartner.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespacekp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespacemembers.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespacemembers_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespacemembers_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/namespaces.html
+%%PORTDOCS%%%%DOCSDIR%%/html/nodeparser_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/nodeparser_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/nodeparser_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/nodeparser_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofc__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofc__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofc__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofc__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx2qif_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx2qif_8c.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__aggregate_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__aggregate_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__account_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__account_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__generic_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__generic_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__main_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__main_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__security_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__security_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__transaction_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__container__transaction_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__containers_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__containers_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__containers__misc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__containers__misc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__error__msg_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__error__msg_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__preproc_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__preproc_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__preproc_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__preproc_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__accountinfo_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__accountinfo_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__accountinfo_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__accountinfo_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__statement_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__statement_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__statement_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__request__statement_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__sgml_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__sgml_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__sgml_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__sgml_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__utilities_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__utilities_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__utilities_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofx__utilities_8hh.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxconnect_2cmdline_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxconnect_2cmdline_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxconnect_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxconnect_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxdump_2cmdline_8c-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxdump_2cmdline_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxdump_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxdump_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxpartner_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxpartner_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxpartner_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ofxpartner_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structErrorMsg.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structLibofxFileFormatInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxAccountData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxCurrency.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxFiLogin.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxFiServiceInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxPayee.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxPayment.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxSecurityData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxStatementData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxStatusData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structOfxTransactionData.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structcmdline__parser__params.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structgengetopt__args__info.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structoption.html
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_b.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_l.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_r.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/tabs.css
+%%PORTDOCS%%%%DOCSDIR%%/html/tree.html
+%%PORTDOCS%%%%DOCSDIR%%/html/tree_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/win32_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/win32_8hh-source.html
+%%PORTDOCS%%%%DOCSDIR%%/totest.txt
+%%DATADIR%%/dtd/ofc.dtd
+%%DATADIR%%/dtd/ofx160.dtd
+%%DATADIR%%/dtd/ofx201.dtd
+%%DATADIR%%/dtd/opensp.dcl
+ at dirrm %%DATADIR%%/dtd
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm include/libofx
--- /dev/null
+++ finance/libofx/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for:   libofx
+# Date created:        February 16 2003
+# Whom:                Glenn Johnson <glennpj at charter.net>
+#
+# $MidnightBSD: mports/finance/libofx/Makefile,v 1.1 2008/04/29 02:35:40 laffer1 Exp $
+# $FreeBSD: ports/finance/libofx/Makefile,v 1.21 2008/03/13 20:56:54 miwi Exp $
+#
+
+PORTNAME=	libofx
+PORTVERSION=	0.9.0
+CATEGORIES=	finance
+MASTER_SITES=	SF
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	OpenSource implementation of the OFX (Open Financial eXchange)
+
+LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl \
+		xml\\+\\+-1.0.1:${PORTSDIR}/textproc/libxml++ \
+		osp.5:${PORTSDIR}/textproc/opensp
+
+USE_GNOME=	gnometarget
+USE_ICONV=	yes
+USE_GMAKE=	yes
+USE_AUTOTOOLS=	libtool:15
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--disable-doxygen --disable-dot --disable-gengetopt \
+		--with-opensp-includes=${LOCALBASE}/include/OpenSP
+USE_LDCONFIG=	yes
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog INSTALL NEWS README totest.txt
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+	${TAR} -C ${WRKSRC}/doc -cf - html | \
+		${TAR} -C ${DOCSDIR} --unlink -xf -
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ finance/libofx/distinfo
@@ -0,0 +1,3 @@
+MD5 (libofx-0.9.0.tar.gz) = 6e2172f0117f90805590bf755190b79e
+SHA256 (libofx-0.9.0.tar.gz) = 0aeec8a10e870474f80fe1385ecd5bb284d8f281c2b527796fdc3ee647ce7c20
+SIZE (libofx-0.9.0.tar.gz) = 1260933
--- /dev/null
+++ finance/libofx/files/patch-lib_ofx_utilities.cpp
@@ -0,0 +1,13 @@
+*** lib/ofx_utilities.old	Sun Apr 13 12:39:29 2003
+--- lib/ofx_utilities.cpp	Sun Apr 13 12:11:04 2003
+***************
+*** 16,21 ****
+--- 16,22 ----
+   *                                                                         *
+   ***************************************************************************/
+  #include <config.h>
++ #include <locale.h>
+  #include <iostream>
+  #include "ParserEventGeneratorKit.h"
+  #include "SGMLApplication.h"
+
--- /dev/null
+++ finance/libofx/files/patch-lib_ofx_preproc.cpp
@@ -0,0 +1,22 @@
+
+$FreeBSD: ports/finance/libofx/files/patch-lib_ofx_preproc.cpp,v 1.3 2008/03/13 20:56:55 miwi Exp $
+
+--- lib/ofx_preproc.cpp.orig	Mon Nov 12 15:07:48 2007
++++ lib/ofx_preproc.cpp	Thu Jan 17 02:39:31 2008
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string>
++#include <unistd.h>
+ #include "ParserEventGeneratorKit.h"
+ #include "libofx.h"
+ #include "messages.hh"
+@@ -185,7 +186,7 @@
+ 	    memset(iconv_buffer,0,READ_BUFFER_SIZE);
+ 	    size_t inbytesleft = strlen(s_buffer.c_str());
+ 	    size_t outbytesleft = READ_BUFFER_SIZE;
+-#ifdef OS_WIN32
++#if defined(OS_WIN32) || defined(OS_FREEBSD)
+ 	    const char * inchar = (const char *)s_buffer.c_str();
+ #else
+ 	    char * inchar = (char *)s_buffer.c_str();
--- /dev/null
+++ finance/libofx/files/patch-Makefile.in
@@ -0,0 +1,29 @@
+--- Makefile.in.orig	Tue Nov 20 01:42:17 2007
++++ Makefile.in	Thu Jan 17 02:04:22 2008
+@@ -237,7 +237,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ @BUILD_OFXCONNECT_TRUE at MAYBE_OFXCONNECT = ofxconnect
+-SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)
++SUBDIRS = m4 inc dtd lib . ofx2qif ofxdump $(MAYBE_OFXCONNECT)
+ doc_DATA = \
+   AUTHORS \
+   COPYING \
+@@ -254,7 +254,7 @@
+   totest.txt \
+   libofx.lsm
+ 
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libofx.pc
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+@@ -685,7 +685,7 @@
+ 
+ info-am:
+ 
+-install-data-am: install-docDATA install-pkgconfigDATA
++install-data-am: install-pkgconfigDATA
+ 
+ install-exec-am:
+ 
--- /dev/null
+++ finance/libofx/files/patch-inc_libofx.h
@@ -0,0 +1,70 @@
+--- inc/libofx.h.orig	Sat Feb 12 16:40:57 2005
++++ inc/libofx.h	Sat Feb 12 16:39:46 2005
+@@ -38,8 +38,12 @@
+ 
+ #ifdef __cplusplus
+ #define CFCT extern "C"
++#define CFCT_start extern "C" {
++#define CFCT_end }
+ #else
+ #define CFCT
++#define CFCT_start
++#define CFCT_end
+ #define true 1
+ #define false 0
+ #endif
+@@ -207,7 +211,9 @@
+  other events).  An OfxStatusData structure is passed to this event, as well as
+  a pointer to an arbitrary data structure.
+ */
+-CFCT typedef int (*LibofxProcStatusCallback)(const struct OfxStatusData data, void * status_data);
++CFCT_start
++typedef int (*LibofxProcStatusCallback)(const struct OfxStatusData data, void * status_data);
++CFCT_end
+ 
+ /**
+  * \brief An abstraction of an account
+@@ -264,7 +270,9 @@
+  part of OfxStatementData structure passed to ofx_proc_statement event, 
+  as well as a pointer to an arbitrary data structure.
+ */
+-CFCT typedef int (*LibofxProcAccountCallback)(const struct OfxAccountData data, void * account_data);
++CFCT_start
++typedef int (*LibofxProcAccountCallback)(const struct OfxAccountData data, void * account_data);
++CFCT_end
+ 
+ /**
+  * \brief An abstraction of a security, such as a stock, mutual fund, etc.
+@@ -320,7 +328,9 @@
+  An OfxSecurityData structure is passed to this event, as well as
+  a pointer to an arbitrary data structure.
+ */
+-CFCT typedef int (*LibofxProcSecurityCallback)(const struct OfxSecurityData data, void * security_data);
++CFCT_start
++typedef int (*LibofxProcSecurityCallback)(const struct OfxSecurityData data, void * security_data);
++CFCT_end
+ 
+ typedef enum {
+     OFX_CREDIT,     /**< Generic credit */
+@@ -498,7 +508,9 @@
+  generated. An OfxTransactionData structure is passed to this event, as well as
+  a pointer to an arbitrary data structure.
+ */
+-CFCT typedef int (*LibofxProcTransactionCallback)(const struct OfxTransactionData data, void * transaction_data);
++CFCT_start
++typedef int (*LibofxProcTransactionCallback)(const struct OfxTransactionData data, void * transaction_data);
++CFCT_end
+ 
+ /** 
+  * \brief An abstraction of an account statement. 
+@@ -567,7 +579,9 @@
+  events have been sent. An OfxStatementData is passed to this event, as well as
+  a pointer to an arbitrary data structure.
+ */
+-CFCT typedef int (*LibofxProcStatementCallback)(const struct OfxStatementData data, void * statement_data);
++CFCT_start
++typedef int (*LibofxProcStatementCallback)(const struct OfxStatementData data, void * statement_data);
++CFCT_end
+ 
+ /** 
+     \brief NOT YET SUPPORTED
--- /dev/null
+++ finance/libofx/files/patch-ofx2qif_ofx2qif.c
@@ -0,0 +1,19 @@
+--- ofx2qif/ofx2qif.c.orig	Sat Feb 12 16:38:24 2005
++++ ofx2qif/ofx2qif.c	Sat Feb 12 16:38:45 2005
+@@ -207,6 +207,7 @@
+ extern int ofx_ERROR_msg;
+ extern int ofx_INFO_msg;
+ extern int ofx_STATUS_msg;
++LibofxContextPtr libofx_context;
+  ofx_PARSER_msg = false;
+  ofx_DEBUG_msg = false;
+  ofx_WARNING_msg = false;
+@@ -214,7 +215,7 @@
+  ofx_INFO_msg = false;
+  ofx_STATUS_msg = false;
+ 
+- LibofxContextPtr libofx_context = libofx_get_new_context();
++ libofx_context = libofx_get_new_context();
+  ofx_set_statement_cb(libofx_context, ofx_proc_statement_cb, 0);
+  ofx_set_account_cb(libofx_context, ofx_proc_account_cb, 0);
+  ofx_set_transaction_cb(libofx_context, ofx_proc_transaction_cb, 0);


More information about the Midnightbsd-cvs mailing list