1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/finance/kmymoney/Makefile
Jason E. Hale edb2fa4399 finance/kmymoney: Update to 5.1.2
Rename the WEBOOB option to WOOB to reflect project name change.
2022-02-24 09:28:03 -05:00

111 lines
3.9 KiB
Makefile

PORTNAME= kmymoney
PORTVERSION= 5.1.2
CATEGORIES= finance kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
PATCH_SITES= https://invent.kde.org/office/kmymoney/-/commit/
PATCHFILES+= a06d2fe154f755c3af1e7f261cd631929b9da998.diff:-p1 # akonadi 21.12
MAINTAINER= jhale@FreeBSD.org
COMMENT= KDE personal finance manager
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
LIB_DEPENDS= libalkimia5.so:finance/alkimia \
libKChart.so:graphics/kdiagram
USES= cmake compiler:c++14-lang desktop-file-utils gettext kde:5 \
pkgconfig qt:5 shared-mime-info shebangfix tar:xz
USE_QT= buildtools_build core dbus gui network printsupport qmake_build \
sql testlib_build xml webkit widgets
USE_KDE= activities archive auth bookmarks codecs completion config \
configwidgets coreaddons doctools_build ecm_build i18n \
iconthemes itemmodels itemviews jobwidgets kcmutils \
kio notifications textwidgets service solid sonnet \
wallet widgetsaddons xmlgui
USE_LDCONFIG= yes
SHEBANG_FILES= kmymoney/misc/financequote.pl
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= CALENDAR KBANKING OFX SQLCIPHER WOOB
WEB_DESC= Web content renderer
OPTIONS_SINGLE= WEB
OPTIONS_SINGLE_WEB= KDEWEBKIT QTWEBENGINE
OPTIONS_DEFINE= ADDRESSBOOK GNUPG HOLIDAYS QUOTES
OPTIONS_DEFAULT= CALENDAR GNUPG HOLIDAYS KBANKING KDEWEBKIT OFX QUOTES
OPTIONS_SUB= yes
ADDRESSBOOK_DESC= Address book support
ADDRESSBOOK_USE= kde=akonadi,contacts,identitymanagement,pimtextedit
ADDRESSBOOK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Akonadi \
CMAKE_DISABLE_FIND_PACKAGE_KF5Contacts \
CMAKE_DISABLE_FIND_PACKAGE_KF5IdentityManagement
CALENDAR_DESC= iCalendar exporter
CALENDAR_LIB_DEPENDS= libical.so:devel/libical
CALENDAR_CMAKE_BOOL= ENABLE_LIBICAL
GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme \
libgpgmepp.so:security/gpgme-cpp \
libassuan.so:security/libassuan \
libgpg-error.so:security/libgpg-error
GNUPG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Gpgmepp \
CMAKE_DISABLE_FIND_PACKAGE_KF5Gpgmepp
HOLIDAYS_DESC= Holidays support
HOLIDAYS_USE= kde=holidays
HOLIDAYS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Holidays
KBANKING_DESC= Online banking via KBanking (AqBanking)
KBANKING_LIB_DEPENDS= libgwenhywfar.so:devel/gwenhywfar \
libgwengui-qt5.so:devel/gwenhywfar-qt5 \
libaqbanking.so:finance/aqbanking
KBANKING_USE= qt=declarative
KBANKING_CMAKE_BOOL= ENABLE_KBANKING
KDEWEBKIT_DESC= Web content rendering via KDEWebKit
KDEWEBKIT_USE= kde=kdewebkit
OFX_DESC= OFX (Open Financial Exchange) importer
OFX_LIB_DEPENDS= libofx.so:finance/libofx
OFX_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibOfx
QTWEBENGINE_DESC= Web content rendering via QtWebEngine
QTWEBENGINE_USE= qt=location,webchannel,webengine
QTWEBENGINE_CMAKE_BOOL= ENABLE_WEBENGINE
QUOTES_DESC= Online stock and currency price quotes
QUOTES_USES= perl5
QUOTES_USE= PERL5=run
QUOTES_RUN_DEPENDS= p5-Date-Manip>=0:devel/p5-Date-Manip \
p5-Finance-Quote>=0:finance/p5-Finance-Quote \
p5-XML-Parser>=0:textproc/p5-XML-Parser \
p5-XML-Writer>=0:textproc/p5-XML-Writer \
p5-libwww>=0:www/p5-libwww
SQLCIPHER_DESC= KMyMoney database encryption
SQLCIPHER_LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher
SQLCIPHER_CMAKE_BOOL= ENABLE_SQLCIPHER
WOOB_DESC= Online banking via Web Outside Of Browsers
WOOB_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}woob-qt>0:www/py-woob-qt@${PY_FLAVOR}
WOOB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}woob-qt>0:www/py-woob-qt@${PY_FLAVOR}
WOOB_USES= python:3.7+
WOOB_USE= qt=concurrent
WOOB_CMAKE_BOOL= ENABLE_WEBOOB
.if defined(MAINTAINER_MODE)
# Apply additional substitutions to pkg-plist generated by the 'makeplist' target
create-plist: stage
@(cd ${.CURDIR} && ${MAKE} makeplist > pkg-plist && \
${SED} -i "" -e '1d' \
-e '/icalendar/s|^|%%CALENDAR%%|g' -e '/kbanking/s|^|%%KBANKING%%|g' \
-e '/ofximport/s|^|%%OFX%%|g' -e '/qsqlcipher/s|^|%%SQLCIPHER%%|g' \
-e '/weboob/s|^|%%WOOB%%|g' \
pkg-plist)
.endif
.include <bsd.port.mk>