diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-09-02 01:05:14 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-09-02 01:05:14 +0800 |
commit | 785253c7f820952dbb3e80ac7787c8292426c1de (patch) | |
tree | 1ce9e643d4ff5e1609fc209342a2b2dcfe715301 /finance | |
parent | 9da4e10e1ee7c1344ad81fbeccc9fe5e680b5888 (diff) | |
download | freebsd-ports-gnome-785253c7f820952dbb3e80ac7787c8292426c1de.tar.gz freebsd-ports-gnome-785253c7f820952dbb3e80ac7787c8292426c1de.tar.zst freebsd-ports-gnome-785253c7f820952dbb3e80ac7787c8292426c1de.zip |
devel/gwenhywfar:
- Repocopy devel/gwenhywfar to devel/gwenhywfar-{fox16,gtk2,qt4}.
- devel/gwenhywfar is now a master port and new slave ports will allow the
user to install the GUI libraries separately. This will make packaging
easier for finance/gnucash and finance/kmymoney-kde4.
finance/aqbanking:
- finance/aqbanking has been updated to 5.0.25 and includes a shlib bump, so
instead of making the user rebuild twice it is included here.
- Shlib bump aqbanking.33 -> aqbanking.34.
- Fix LICENSE.
- Convert to new OPTIONS framework.
finance/gnucash:
- Adjust LIB_DEPENDS for AQBANKING option so they are installed in the
correct order.
- Drop unneeded LICENSE_FILE.
- Drop ABI version numbers from all LIB_DEPENDS (if you really want to keep
them, at least keep the LIB_DEPENDS in the order I changed them to since
aqbanking should be built last. Also aqbanking.33 -> aqbanking.34).
- Remove BROKEN message now that the dependency problem is solved.
finance/kmymoney-kde4:
- Convert to new OPTIONS framework.
- Drop WITH_* from PLIST_SUB.
- Drop ABI version numbers from all LIB_DEPENDS.
- Add USE_PKGCONFIG=build.
- Remove IGNORE message now that the dependency problem is solved.
Also clean up the header for the touched Makefiles.
PR: ports/170492
Submitted by: Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
Diffstat (limited to 'finance')
-rw-r--r-- | finance/aqbanking/Makefile | 43 | ||||
-rw-r--r-- | finance/aqbanking/distinfo | 4 | ||||
-rw-r--r-- | finance/aqbanking/pkg-plist | 1 | ||||
-rw-r--r-- | finance/gnucash/Makefile | 29 | ||||
-rw-r--r-- | finance/kmymoney-kde4/Makefile | 58 | ||||
-rw-r--r-- | finance/kmymoney-kde4/pkg-plist | 28 |
6 files changed, 73 insertions, 90 deletions
diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile index 4cdd5308c5b2..351e70a04fc5 100644 --- a/finance/aqbanking/Makefile +++ b/finance/aqbanking/Makefile @@ -1,33 +1,30 @@ -# New ports collection makefile for: aqbanking -# Date created: June 2005 -# Whom: Sam Lawrance <lawrance@FreeBSD.org> -# # $FreeBSD$ -# PORTNAME= aqbanking -PORTVERSION= 5.0.23 -PORTREVISION= 1 +PORTVERSION= 5.0.25 CATEGORIES= finance -MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=03&release=93&file=01&dummy=/ +MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=03&release=95&file=01&dummy=/ MAINTAINER= bsdkaffee@gmail.com COMMENT= Online banking interface and financial data framework -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual -LIB_DEPENDS= gwenhywfar.63:${PORTSDIR}/devel/gwenhywfar \ - gmp.10:${PORTSDIR}/math/gmp +LIB_DEPENDS= gwenhywfar:${PORTSDIR}/devel/gwenhywfar \ + gmp:${PORTSDIR}/math/gmp + +OPTIONS_DEFINE= DOCS KTOBLZCHECK PAYPAL +OPTIONS_DEFAULT= KTOBLZCHECK + +KTOBLZCHECK_DESC= Enable KtoBlzCheck support +PAYPAL_DESC= Build PayPal backend (separate license) USE_GMAKE= yes USE_GETTEXT= yes +USE_PKGCONFIG= build USE_AUTOTOOLS= libtool -USE_GNOME= gnomehack pkgconfig - -OPTIONS= APIDOC "Full API documentation (requires Doxygen)" off \ - KTOBLZCHECK "KtoBlzCheck support" off \ - PAYPAL "Build PayPal backend (separate license)" off +USE_GNOME= gnomehack GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-release="yes" @@ -39,23 +36,23 @@ PLIST_SUB= AQB_SHLIB_VER="${AQB_SHLIB_VER}" \ GWEN_SHLIB_VER="${GWEN_SHLIB_VER}" USE_LDCONFIG= yes -AQB_SHLIB_VER= 33 +AQB_SHLIB_VER= 34 GWEN_SHLIB_VER= 60 .include <bsd.port.options.mk> -.if !defined(NOPORTDOCS) && defined(WITH_APIDOC) +.if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CONFIGURE_ARGS+=--enable-full-doc PORTDOCS= apidoc .endif -.if defined(WITH_KTOBLZCHECK) || exists(${LOCALBASE}/lib/libktoblzcheck.so) +.if ${PORT_OPTIONS:MKTOBLZCHECK} || exists(${LOCALBASE}/lib/libktoblzcheck.so) LIB_DEPENDS+= ktoblzcheck:${PORTSDIR}/finance/ktoblzcheck .endif -.if defined(WITH_PAYPAL) +.if ${PORT_OPTIONS:MPAYPAL} CONFIGURE_ARGS+=--with-backends="aqhbci aqnone aqofxconnect aqpaypal" PLIST_SUB+= WITH_PAYPAL="" .else @@ -67,12 +64,12 @@ post-patch: ${WRKSRC}/Makefile.in post-build: -.if !defined(NOPORTDOCS) && defined(WITH_APIDOC) +.if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC} && ${GMAKE} srcdoc .endif post-install: -.if !defined(NOPORTDOCS) && defined(WITH_APIDOC) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc diff --git a/finance/aqbanking/distinfo b/finance/aqbanking/distinfo index 132a3b8f8cdd..ca197f62156c 100644 --- a/finance/aqbanking/distinfo +++ b/finance/aqbanking/distinfo @@ -1,2 +1,2 @@ -SHA256 (aqbanking-5.0.23.tar.gz) = 04f2a9420513040b0e88c93b746d2e193985af909b58cc4ba99db56570059213 -SIZE (aqbanking-5.0.23.tar.gz) = 3635384 +SHA256 (aqbanking-5.0.25.tar.gz) = bb99f16704200e1ff456574b17895e04ef375479b21e075607454e6bc7c02151 +SIZE (aqbanking-5.0.25.tar.gz) = 3637565 diff --git a/finance/aqbanking/pkg-plist b/finance/aqbanking/pkg-plist index 84aa379da685..2af8ba4d1e27 100644 --- a/finance/aqbanking/pkg-plist +++ b/finance/aqbanking/pkg-plist @@ -315,6 +315,7 @@ share/aqbanking/imexporters/csv/profiles/sparda.conf share/aqbanking/imexporters/csv/profiles/spk-aachen.conf share/aqbanking/imexporters/csv/profiles/spk-steiermark.conf share/aqbanking/imexporters/csv/profiles/tonline-banking.conf +share/aqbanking/imexporters/csv/profiles/transfers.conf share/aqbanking/imexporters/csv/profiles/vrnetworld.conf share/aqbanking/imexporters/ctxfile/profiles/default.conf share/aqbanking/imexporters/dtaus/profiles/debitnote.conf diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index b6ac65d2f764..fa069c4291e2 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,13 +1,9 @@ -# Ports collection makefile for: gnucash -# Date created: Mon Feb 03, 1997 -# Whom: David O'Brien (obrien@NUXI.com) -# # $FreeBSD$ # $MCom: ports/finance/gnucash/Makefile,v 1.26 2008/12/31 03:25:18 mezz Exp $ -# PORTNAME= gnucash PORTVERSION= 2.4.11 +PORTREVISION= 1 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} @@ -15,12 +11,11 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Quicken-like money and finance manager LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \ ${LOCALBASE}/share/guile/1.8/slibcat:${PORTSDIR}/lang/slib-guile -LIB_DEPENDS= gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring \ - goffice-0.8.8:${PORTSDIR}/devel/goffice +LIB_DEPENDS= gnome-keyring:${PORTSDIR}/security/libgnome-keyring \ + goffice-0.8:${PORTSDIR}/devel/goffice RUN_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \ ${LOCALBASE}/share/guile/1.8/slibcat:${PORTSDIR}/lang/slib-guile \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ @@ -70,9 +65,10 @@ GCONF_SCHEMAS= apps_gnucash_dialog_business_common.schemas \ .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MAQBANKING} -LIB_DEPENDS+= aqbanking.33:${PORTSDIR}/finance/aqbanking \ - gwengui-gtk2.0:${PORTSDIR}/devel/gwenhywfar \ - ktoblzcheck.6:${PORTSDIR}/finance/ktoblzcheck +LIB_DEPENDS+= gwengui-gtk2:${PORTSDIR}/devel/gwenhywfar-gtk2 \ + ktoblzcheck:${PORTSDIR}/finance/ktoblzcheck \ + aqbanking:${PORTSDIR}/finance/aqbanking + GCONF_SCHEMAS+= apps_gnucash_dialog_hbci.schemas CONFIGURE_ARGS+=--enable-aqbanking PLIST_SUB+= AQBANKING="" @@ -83,7 +79,7 @@ PLIST_SUB+= AQBANKING="@comment " .if ${PORT_OPTIONS:MOFX} CONFIGURE_ARGS+=--enable-ofx -LIB_DEPENDS+= ofx.5:${PORTSDIR}/finance/libofx +LIB_DEPENDS+= ofx:${PORTSDIR}/finance/libofx PLIST_SUB+= OFX="" .else CONFIGURE_ARGS+=--disable-ofx @@ -92,7 +88,7 @@ PLIST_SUB+= OFX="@comment " .if ${PORT_OPTIONS:MDATABASE} CONFIGURE_ARGS+=--enable-dbi -LIB_DEPENDS+= dbi.1:${PORTSDIR}/databases/libdbi +LIB_DEPENDS+= dbi:${PORTSDIR}/databases/libdbi PLIST_SUB+= DATABASE="" .else CONFIGURE_ARGS+=--disable-dbi @@ -105,7 +101,7 @@ CONFIGURE_ARGS+=--enable-locale-specific-tax .if ${PORT_OPTIONS:MWEBKIT} CONFIGURE_ARGS+=--with-html-engine=webkit -LIB_DEPENDS+= webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2 +LIB_DEPENDS+= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2 .else USE_GNOME+= gtkhtml3 .endif @@ -118,11 +114,6 @@ PLIST_SUB+= PYTHON="" PLIST_SUB+= PYTHON="@comment " .endif -pre-configure: -.if !defined(PACKAGE_BUILDING) && ${PORT_OPTIONS:MAQBANKING} && !exists(${LOCALBASE}/lib/libgwengui-gtk2.so.0) -BROKEN= Please rebuild devel/gwenhywfar with the GTK2 option set -.endif - post-install: @${CAT} ${PKGMESSAGE} diff --git a/finance/kmymoney-kde4/Makefile b/finance/kmymoney-kde4/Makefile index 941630349f67..af5634723be4 100644 --- a/finance/kmymoney-kde4/Makefile +++ b/finance/kmymoney-kde4/Makefile @@ -1,13 +1,8 @@ -# New ports collection makefile for: KMyMoney -# Date created: 21 June 2004 -# Whom: Alexander Novitsky -# # $FreeBSD$ -# PORTNAME= kmymoney PORTVERSION= 4.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= finance kde MASTER_SITES= SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION} @@ -15,13 +10,21 @@ MAINTAINER= bsdkaffee@gmail.com COMMENT= KDE 4.x-based personal finance manager LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= boost_graph.4:${PORTSDIR}/devel/boost-libs \ - alkimia.4:${PORTSDIR}/finance/libalkimia +LIB_DEPENDS= boost_graph:${PORTSDIR}/devel/boost-libs \ + alkimia:${PORTSDIR}/finance/libalkimia + +OPTIONS_DEFINE= CALENDAR KBANKING OFX QUOTES +OPTIONS_DEFAULT=CALENDAR + +CALENDAR_DESC= Enable Calendar plugin +KBANKING_DESC= Enable KBanking plugin +OFX_DESC= Enable OFX plugin +QUOTES_DESC= Enable online price quotes USE_BZIP2= yes USE_CMAKE= yes +USE_PKGCONFIG= build USE_QT4= gui dbus network phonon sql svg xml \ qmake_build moc_build rcc_build uic_build USE_KDE4= kdehier kdeprefix automoc4 kdelibs pimlibs sharedmime @@ -31,42 +34,37 @@ MAKE_JOBS_SAFE= yes MAN1= kmymoney.1 -OPTIONS= CALENDAR "Enable Calendar plugin" on \ - KBANKING "Enable KBanking plugin" off \ - OFX "Enable OFX plugin" off \ - QUOTES "Enable online price quotes" off - .include <bsd.port.options.mk> -.if defined(WITH_CALENDAR) -LIB_DEPENDS+= ical.44:${PORTSDIR}/devel/libical +.if ${PORT_OPTIONS:MCALENDAR} +LIB_DEPENDS+= ical:${PORTSDIR}/devel/libical CMAKE_ARGS+= -DENABLE_LIBICAL:BOOL=ON -PLIST_SUB+= WITH_CALENDAR="" +PLIST_SUB+= CALENDAR="" .else CMAKE_ARGS+= -DENABLE_LIBICAL:BOOL=OFF -PLIST_SUB+= WITH_CALENDAR="@comment " +PLIST_SUB+= CALENDAR="@comment " .endif -.if defined(WITH_KBANKING) -LIB_DEPENDS+= gwengui-qt4.0:${PORTSDIR}/devel/gwenhywfar \ - aqbanking.33:${PORTSDIR}/finance/aqbanking +.if ${PORT_OPTIONS:MKBANKING} +LIB_DEPENDS+= gwengui-qt4:${PORTSDIR}/devel/gwenhywfar-qt4 \ + aqbanking:${PORTSDIR}/finance/aqbanking CMAKE_ARGS+= -DENABLE_KBANKING:BOOL=ON -PLIST_SUB+= WITH_KBANKING="" +PLIST_SUB+= KBANKING="" .else CMAKE_ARGS+= -DENABLE_KBANKING:BOOL=OFF -PLIST_SUB+= WITH_KBANKING="@comment " +PLIST_SUB+= KBANKING="@comment " .endif -.if defined(WITH_OFX) -LIB_DEPENDS+= ofx.5:${PORTSDIR}/finance/libofx +.if ${PORT_OPTIONS:MOFX} +LIB_DEPENDS+= ofx:${PORTSDIR}/finance/libofx CMAKE_ARGS+= -DENABLE_LIBOFX:BOOL=ON -PLIST_SUB+= WITH_OFX="" +PLIST_SUB+= OFX="" .else CMAKE_ARGS+= -DENABLE_LIBOFX:BOOL=OFF -PLIST_SUB+= WITH_OFX="@comment " +PLIST_SUB+= OFX="@comment " .endif -.if defined(WITH_QUOTES) +.if ${PORT_OPTIONS:MQUOTES} USE_PERL5_RUN= yes RUN_DEPENDS+= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \ p5-Finance-Quote>=0:${PORTSDIR}/finance/p5-Finance-Quote \ @@ -75,8 +73,4 @@ RUN_DEPENDS+= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww .endif -.if !defined(PACKAGE_BUILDING) && defined(WITH_KBANKING) && !exists(${LOCALBASE}/lib/libgwengui-qt4.so) -IGNORE= please rebuild devel/gwenhywfar with the WITH_QT4 option set -.endif - .include <bsd.port.mk> diff --git a/finance/kmymoney-kde4/pkg-plist b/finance/kmymoney-kde4/pkg-plist index 7e0eb4ebaf95..6755b33d9b7f 100644 --- a/finance/kmymoney-kde4/pkg-plist +++ b/finance/kmymoney-kde4/pkg-plist @@ -70,12 +70,12 @@ include/kmymoney/transactioneditorcontainer.h include/kmymoney/transactionform.h include/kmymoney/transactionsortoptionimpl.h include/kmymoney/viewinterface.h -%%WITH_CALENDAR%%lib/kde4/kcm_kmm_icalendarexport.so +%%CALENDAR%%lib/kde4/kcm_kmm_icalendarexport.so lib/kde4/kcm_kmm_printcheck.so lib/kde4/kmm_csvimport.so -%%WITH_CALENDAR%%lib/kde4/kmm_icalendarexport.so -%%WITH_KBANKING%%lib/kde4/kmm_kbanking.so -%%WITH_OFX%%lib/kde4/kmm_ofximport.so +%%CALENDAR%%lib/kde4/kmm_icalendarexport.so +%%KBANKING%%lib/kde4/kmm_kbanking.so +%%OFX%%lib/kde4/kmm_ofximport.so lib/kde4/kmm_printcheck.so lib/kde4/kmm_reconciliationreport.so lib/libkmm_kdchart.so @@ -92,9 +92,9 @@ lib/libkmm_widgets.so.5 lib/libkmm_widgets.so.5.0.1 share/applications/kde4/kmymoney.desktop share/apps/kmm_csvimport/kmm_csvimport.rc -%%WITH_CALENDAR%%share/apps/kmm_icalendarexport/kmm_icalendarexport.rc -%%WITH_KBANKING%%share/apps/kmm_kbanking/kmm_kbanking.rc -%%WITH_OFX%%share/apps/kmm_ofximport/kmm_ofximport.rc +%%CALENDAR%%share/apps/kmm_icalendarexport/kmm_icalendarexport.rc +%%KBANKING%%share/apps/kmm_kbanking/kmm_kbanking.rc +%%OFX%%share/apps/kmm_ofximport/kmm_ofximport.rc share/apps/kmm_printcheck/check_template.html share/apps/kmm_printcheck/check_template_green_linen.html share/apps/kmm_printcheck/kmm_printcheck.rc @@ -1251,12 +1251,12 @@ share/icons/hicolor/64x64/apps/kmymoney.png share/icons/hicolor/64x64/mimetypes/kmy.png share/icons/locolor/16x16/apps/kmymoney.png share/icons/locolor/32x32/apps/kmymoney.png -%%WITH_CALENDAR%%share/kde4/services/kcm_kmm_icalendarexport.desktop +%%CALENDAR%%share/kde4/services/kcm_kmm_icalendarexport.desktop share/kde4/services/kcm_kmm_printcheck.desktop share/kde4/services/kmm_csvimport.desktop -%%WITH_CALENDAR%%share/kde4/services/kmm_icalendarexport.desktop -%%WITH_KBANKING%%share/kde4/services/kmm_kbanking.desktop -%%WITH_OFX%%share/kde4/services/kmm_ofximport.desktop +%%CALENDAR%%share/kde4/services/kmm_icalendarexport.desktop +%%KBANKING%%share/kde4/services/kmm_kbanking.desktop +%%OFX%%share/kde4/services/kmm_ofximport.desktop share/kde4/services/kmm_printcheck.desktop share/kde4/services/kmm_reconciliationreport.desktop share/kde4/servicetypes/kmymoneyimporterplugin.desktop @@ -1383,9 +1383,9 @@ share/mime/packages/x-kmymoney.xml @dirrm share/apps/kmymoney/html @dirrm share/apps/kmymoney @dirrm share/apps/kmm_printcheck -%%WITH_OFX%%@dirrm share/apps/kmm_ofximport -%%WITH_KBANKING%%@dirrm share/apps/kmm_kbanking -%%WITH_CALENDAR%%@dirrm share/apps/kmm_icalendarexport +%%OFX%%@dirrm share/apps/kmm_ofximport +%%KBANKING%%@dirrm share/apps/kmm_kbanking +%%CALENDAR%%@dirrm share/apps/kmm_icalendarexport @dirrm share/apps/kmm_csvimport @dirrm include/kmymoney @exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true |