a17d48c4c0
In r514669 the two ports were moved in the following way: - net/kcontacts -> net/kf5-kcontacts - net/kcalcore -> net/kf5-kcalendarcore Force rebuild of their consumers.
111 lines
3.8 KiB
Makefile
111 lines
3.8 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kmymoney
|
|
PORTVERSION= 5.0.3
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
SHEBANG_FILES= kmymoney/misc/financequote.pl
|
|
|
|
OPTIONS_GROUP= PLUGINS
|
|
OPTIONS_GROUP_PLUGINS= CALENDAR KBANKING OFX SQLCIPHER 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=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
|
|
|
|
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 '/qsqlcipher/s|^|%%SQLCIPHER%%|g' \
|
|
-e '/weboob/s|^|%%WEBOOB%%|g' \
|
|
pkg-plist)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|