Add sqlite3 option, and adapt PLIST for it.
From Gary Duzan.
This commit is contained in:
parent
61af8a1e56
commit
f084bc9f27
3 changed files with 16 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.78 2014/01/05 21:19:18 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.79 2014/01/06 09:19:25 wiz Exp $
|
||||
|
||||
DISTNAME= kmymoney2-1.0.5
|
||||
PKGREVISION= 25
|
||||
|
@ -11,7 +11,7 @@ HOMEPAGE= http://kmymoney2.sourceforge.net/
|
|||
COMMENT= Personal finance manager for KDE
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
USE_TOOLS+= gmake msgfmt perl pkg-config bash
|
||||
USE_TOOLS+= gmake msgfmt perl pkg-config bash gsed
|
||||
USE_LANGUAGES= c c++
|
||||
USE_LIBTOOL= YES
|
||||
GNU_CONFIGURE= YES
|
||||
|
@ -45,5 +45,4 @@ REPLACE_PERL+= admin/fixuifiles
|
|||
BUILDLINK_ABI_DEPENDS.qt3-libs+= qt3-libs>=3.3.8nb9
|
||||
.endif
|
||||
.include "../../x11/qt3-libs/buildlink3.mk"
|
||||
.include "../../databases/sqlite3/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.15 2013/12/31 13:53:46 hauke Exp $
|
||||
@comment $NetBSD: PLIST,v 1.16 2014/01/06 09:19:25 wiz Exp $
|
||||
bin/kmymoney
|
||||
bin/kmymoney2
|
||||
include/kmymoney/export.h
|
||||
|
@ -81,6 +81,7 @@ lib/libkmm_kdchart.la
|
|||
lib/libkmm_mymoney.la
|
||||
lib/libkmm_plugin.la
|
||||
man/man1/kmymoney2.1
|
||||
${PLIST.sqlite3}qt3/plugins/sqldrivers/libsqlite3.so
|
||||
share/applications/kde/kmymoney2.desktop
|
||||
share/doc/kde/HTML/en/kmymoney2/account_edit.png
|
||||
share/doc/kde/HTML/en/kmymoney2/account_options.png
|
||||
|
|
|
@ -1,14 +1,23 @@
|
|||
# $NetBSD: options.mk,v 1.4 2012/06/02 18:33:32 dholland Exp $
|
||||
# $NetBSD: options.mk,v 1.5 2014/01/06 09:19:25 wiz Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.kmymoney2
|
||||
PKG_SUPPORTED_OPTIONS= libofx
|
||||
PKG_SUPPORTED_OPTIONS= libofx sqlite3
|
||||
PKG_SUGGESTED_OPTIONS= libofx
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
PLIST_VARS+= libofx #sqlite3
|
||||
PLIST_VARS+= libofx sqlite3
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mlibofx)
|
||||
.include "../../finance/libofx/buildlink3.mk"
|
||||
PLIST.libofx= yes
|
||||
.endif
|
||||
|
||||
# sqlite3 support builds but does not function properly
|
||||
.if !empty(PKG_OPTIONS:Msqlite3)
|
||||
.include "../../databases/sqlite3/buildlink3.mk"
|
||||
PLIST.sqlite3= yes
|
||||
CONFIGURE_ARGS+= --enable-sqlite3
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-sqlite3
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue