diff options
author | wiz <wiz> | 2006-02-09 21:46:47 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-02-09 21:46:47 +0000 |
commit | 07a5bc907b80fa92d5b09065a70536ba35d60f0b (patch) | |
tree | 1a2eb399d04dda494952eea1a49a26710bcbd36b | |
parent | 5293ad4d3aec9ddba8e9222cf43a98ce6087baf7 (diff) | |
download | pkgsrc-07a5bc907b80fa92d5b09065a70536ba35d60f0b.tar.gz |
Add libofx option, addressing second part of PR 32439 by Gary Duzan.
Turn it on by default and bump PKGREVISION.
Fix pkglint warnings and whitespace nits while here.
-rw-r--r-- | finance/kmymoney2/Makefile | 14 | ||||
-rw-r--r-- | finance/kmymoney2/PLIST | 4 | ||||
-rw-r--r-- | finance/kmymoney2/options.mk | 14 |
3 files changed, 25 insertions, 7 deletions
diff --git a/finance/kmymoney2/Makefile b/finance/kmymoney2/Makefile index c4ff8bda4ea..b93117ddf84 100644 --- a/finance/kmymoney2/Makefile +++ b/finance/kmymoney2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.25 2006/02/05 23:09:06 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2006/02/09 21:46:47 wiz Exp $ DISTNAME= kmymoney2-0.8 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= finance kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kmymoney2/} EXTRACT_SUFX= .tar.bz2 @@ -12,16 +12,18 @@ COMMENT= Personal finance manager for kde3 USE_TOOLS+= gmake USE_LANGUAGES= c c++ -USE_LIBTOOL= YES -GNU_CONFIGURE= YES -SHLIBTOOL_OVERRIDE= libtool +USE_LIBTOOL= YES +GNU_CONFIGURE= YES +SHLIBTOOL_OVERRIDE+= libtool + +.include "options.mk" CONFIGURE_ARGS+= --enable-mt # a fix for qt-3.3.5, please remove if qt-3.3.6 (or newer) solves the problem SUBST_CLASSES+= hints SUBST_STAGE.hints= post-patch -SUBST_MESSAGE.hints= "Fix includehints." +SUBST_MESSAGE.hints= Fix includehints. SUBST_FILES.hints= kmymoney2/dialogs/*.ui kmymoney2/views/*.ui SUBST_FILTER_CMD.hints= ${GREP} -v includehint diff --git a/finance/kmymoney2/PLIST b/finance/kmymoney2/PLIST index 87124d522b6..08d0ee6395b 100644 --- a/finance/kmymoney2/PLIST +++ b/finance/kmymoney2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2005/10/09 12:33:58 markd Exp $ +@comment $NetBSD: PLIST,v 1.5 2006/02/09 21:46:47 wiz Exp $ bin/kmymoney bin/kmymoney2 include/kmymoney/export.h @@ -30,6 +30,7 @@ include/kmymoney/mymoneytransactionfilter.h include/kmymoney/mymoneyutils.h include/kmymoney/statementinterface.h include/kmymoney/viewinterface.h +${HAS_LIBOFX}lib/kde3/kmm_ofximport.la lib/libkmm_mymoney.la lib/libkmm_plugin.la man/man1/kmymoney2.1 @@ -327,6 +328,7 @@ share/kde/icons/hicolor/64x64/mimetypes/kmy.png share/kde/icons/locolor/16x16/apps/kmymoney2.png share/kde/icons/locolor/32x32/apps/kmymoney2.png share/kde/mimelnk/application/x-kmymoney2.desktop +${HAS_LIBOFX}share/kde/services/kmm_ofximport.desktop share/kde/servicetypes/kmymoneyimporterplugin.desktop share/kde/servicetypes/kmymoneyplugin.desktop ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/kmymoney2.mo diff --git a/finance/kmymoney2/options.mk b/finance/kmymoney2/options.mk new file mode 100644 index 00000000000..dc145d01dc6 --- /dev/null +++ b/finance/kmymoney2/options.mk @@ -0,0 +1,14 @@ +# $NetBSD: options.mk,v 1.1 2006/02/09 21:46:47 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.kmymoney2 +PKG_SUPPORTED_OPTIONS= libofx +PKG_SUGGESTED_OPTIONS= libofx + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlibofx) +.include "../../finance/libofx/buildlink3.mk" +PLIST_SUBST+= HAS_LIBOFX="" +.else +PLIST_SUBST+= HAS_LIBOFX="@comment " +.endif |