1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/finance/kmymoney/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

108 lines
3.6 KiB
Makefile

# $FreeBSD$
PORTNAME= kmymoney
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= finance kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
MAINTAINER= jhale@FreeBSD.org
COMMENT= KDE personal finance manager
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
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
CONFLICTS_INSTALL= kmymoney-kde4
SHEBANG_FILES= kmymoney/misc/financequote.pl
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= CALENDAR KBANKING OFX WEBOOB
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=qml,quick
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
WEBOOB_DESC= Online banking via Web Outside Of Browsers
WEBOOB_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}weboob>0:www/py-weboob@${PY_FLAVOR}
WEBOOB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}weboob>0:www/py-weboob@${PY_FLAVOR}
WEBOOB_USES= python:2.7
WEBOOB_USE= qt=concurrent
WEBOOB_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 '/weboob/s|^|%%WEBOOB%%|g' \
pkg-plist)
.endif
.include <bsd.port.mk>