Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 13:26:28 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329305 - in head/finance: gnucash grisbi homebank kmymoney-kde4 libofx libofx/files skrooge
Message-ID:  <201310041326.r94DQSGF066922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Oct  4 13:26:28 2013
New Revision: 329305
URL: http://svnweb.freebsd.org/changeset/ports/329305

Log:
  - Update finance/libofx to 0.9.9
  - Support staging
  - Remove USE_GCC= any; port seems to build fine with clang
  - Move LICENSE to proper location
  - Modernize LIB_DEPENDS
  - USE_GMAKE -> USES= gmake
  - Update pkg-descr to reflect current capabilities
  - Bump PORTREVISION on dependent ports due to so version bump

Modified:
  head/finance/gnucash/Makefile
  head/finance/grisbi/Makefile
  head/finance/homebank/Makefile
  head/finance/kmymoney-kde4/Makefile
  head/finance/libofx/Makefile
  head/finance/libofx/distinfo   (contents, props changed)
  head/finance/libofx/files/patch-lib_ofx_preproc.cpp   (contents, props changed)
  head/finance/libofx/pkg-descr   (contents, props changed)
  head/finance/libofx/pkg-plist   (contents, props changed)
  head/finance/skrooge/Makefile

Modified: head/finance/gnucash/Makefile
==============================================================================
--- head/finance/gnucash/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/gnucash/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gnucash
 PORTVERSION=	2.4.13
+PORTREVISION=	1
 CATEGORIES=	finance gnome
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 

Modified: head/finance/grisbi/Makefile
==============================================================================
--- head/finance/grisbi/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/grisbi/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -3,7 +3,7 @@
 
 PORTNAME=	grisbi
 PORTVERSION=	0.8.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	finance
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/
 
@@ -12,7 +12,7 @@ COMMENT=	Personal accounting application
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	ofx.5:${PORTSDIR}/finance/libofx
+LIB_DEPENDS=	libofx.so:${PORTSDIR}/finance/libofx
 
 USE_BZIP2=	yes
 USES=		gmake iconv pkgconfig

Modified: head/finance/homebank/Makefile
==============================================================================
--- head/finance/homebank/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/homebank/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -2,6 +2,7 @@
 
 PORTNAME=	homebank
 PORTVERSION=	4.5.4
+PORTREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	http://homebank.free.fr/public/
 

Modified: head/finance/kmymoney-kde4/Makefile
==============================================================================
--- head/finance/kmymoney-kde4/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/kmymoney-kde4/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -2,7 +2,7 @@
 
 PORTNAME=	kmymoney
 PORTVERSION=	4.6.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	finance kde
 MASTER_SITES=	SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}
 

Modified: head/finance/libofx/Makefile
==============================================================================
--- head/finance/libofx/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/libofx/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -2,21 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	libofx
-PORTVERSION=	0.9.5
-PORTREVISION=	1
+PORTVERSION=	0.9.9
 CATEGORIES=	finance
 MASTER_SITES=	SF
 
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	OpenSource implementation of the OFX (Open Financial eXchange)
 
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
-		xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26 \
-		osp.5:${PORTSDIR}/textproc/opensp
-
-USE_GCC=	any
-USES=		iconv pkgconfig
-USE_GMAKE=	yes
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
+		libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
+		libosp.so:${PORTSDIR}/textproc/opensp
+
+USES=		gmake iconv pkgconfig
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtool
 ACLOCAL_ARGS=	-I m4
 AUTOMAKE_ARGS=	--add-missing
@@ -28,27 +27,21 @@ USE_LDCONFIG=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-LICENSE=	GPLv2
-
-MAN1=		ofxconnect.1 \
-		ofxdump.1
-
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	APIDOC
 APIDOC_DESC=	Install full API documentation
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS ChangeLog INSTALL NEWS README totest.txt
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .if ${PORT_OPTIONS:MAPIDOC}
-	@(cd ${WRKSRC}/doc; ${COPYTREE_SHARE} html ${DOCSDIR})
+	@(cd ${WRKSRC}/doc; ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
 .endif
 .endif
 

Modified: head/finance/libofx/distinfo
==============================================================================
--- head/finance/libofx/distinfo	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/libofx/distinfo	Fri Oct  4 13:26:28 2013	(r329305)
@@ -1,2 +1,2 @@
-SHA256 (libofx-0.9.5.tar.gz) = a075c5634b94bad16f8c949eeb77625d31bedea3bb10a8da174b989ffab7e78e
-SIZE (libofx-0.9.5.tar.gz) = 1526857
+SHA256 (libofx-0.9.9.tar.gz) = 94ef88c5cdc3e307e473fa2a55d4a05da802ee2feb65c85c63b9019c83747b23
+SIZE (libofx-0.9.9.tar.gz) = 1072495

Modified: head/finance/libofx/files/patch-lib_ofx_preproc.cpp
==============================================================================
--- head/finance/libofx/files/patch-lib_ofx_preproc.cpp	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/libofx/files/patch-lib_ofx_preproc.cpp	Fri Oct  4 13:26:28 2013	(r329305)
@@ -1,11 +1,11 @@
---- ./lib/ofx_preproc.cpp.orig	2011-06-08 08:07:52.000000000 -0400
-+++ ./lib/ofx_preproc.cpp	2012-02-22 08:46:57.000000000 -0500
-@@ -231,7 +231,7 @@
-           memset(iconv_buffer, 0, READ_BUFFER_SIZE * 2);
-           size_t inbytesleft = strlen(s_buffer.c_str());
-           size_t outbytesleft = READ_BUFFER_SIZE * 2 - 1;
--#ifdef OS_WIN32
-+#if defined(OS_WIN32) || defined(__FreeBSD__)
-           const char * inchar = (const char *)s_buffer.c_str();
+--- ./lib/ofx_preproc.cpp.orig	2013-04-25 14:06:29.000000000 -0400
++++ ./lib/ofx_preproc.cpp	2013-10-04 06:27:25.000000000 -0400
+@@ -310,7 +310,7 @@
+             size_t outbytesleft = inbytesleft * 2 - 1;
+             iconv_buffer = (char*) malloc (inbytesleft * 2);
+             memset(iconv_buffer, 0, inbytesleft * 2);
+-#if defined(OS_WIN32) || defined(__sun)
++#if defined(OS_WIN32) || defined(__sun) || defined(__FreeBSD__)
+             const char * inchar = (const char *)s_buffer.c_str();
  #else
-           char * inchar = (char *)s_buffer.c_str();
+             char * inchar = (char *)s_buffer.c_str();

Modified: head/finance/libofx/pkg-descr
==============================================================================
--- head/finance/libofx/pkg-descr	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/libofx/pkg-descr	Fri Oct  4 13:26:28 2013	(r329305)
@@ -1,24 +1,22 @@
-LibOFX is an API designed to allow applications to very easily support
-OFX command responses, usually provided by financial institutions.
+LibOFX 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.
 
 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.
+- Banking transactions and statements
+- Credit card and statements
+- Investment transactions
+- OFX 2.0
 
-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.
+Future projects for LibOFX include:
+
+- Header parsing
+- DTD autodetection
+- Currency conversion
+- QIF import
+- QIF export (integrated inside the library)
+- OFX export
 
 WWW: http://libofx.sourceforge.net/

Modified: head/finance/libofx/pkg-plist
==============================================================================
--- head/finance/libofx/pkg-plist	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/libofx/pkg-plist	Fri Oct  4 13:26:28 2013	(r329305)
@@ -5,8 +5,10 @@ include/libofx/libofx.h
 lib/libofx.a
 lib/libofx.la
 lib/libofx.so
-lib/libofx.so.5
+lib/libofx.so.6
 libdata/pkgconfig/libofx.pc
+man/man1/ofxconnect.1.gz
+man/man1/ofxdump.1.gz
 %%DATADIR%%/dtd/ofc.dtd
 %%DATADIR%%/dtd/ofx160.dtd
 %%DATADIR%%/dtd/ofx201.dtd

Modified: head/finance/skrooge/Makefile
==============================================================================
--- head/finance/skrooge/Makefile	Fri Oct  4 13:06:54 2013	(r329304)
+++ head/finance/skrooge/Makefile	Fri Oct  4 13:26:28 2013	(r329305)
@@ -2,6 +2,7 @@
 
 PORTNAME=	skrooge
 PORTVERSION=	1.7.1
+PORTREVISION=	1
 CATEGORIES=	finance kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	stable/${PORTNAME}/${PORTVERSION}/src/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310041326.r94DQSGF066922>