aboutsummaryrefslogtreecommitdiffstats
path: root/finance/kmymoney-kde4/Makefile
blob: ea010f55605c9e0a2cccf1ad8344859a8265b64d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# $FreeBSD$

PORTNAME=   kmymoney
PORTVERSION=    4.7.1
CATEGORIES= finance kde
MASTER_SITES=   KDE/stable/${PORTNAME}/${PORTVERSION}/src

MAINTAINER= jhale@FreeBSD.org
COMMENT=    KDE4 personal finance manager

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libboost_graph.so:${PORTSDIR}/devel/boost-libs \
        libalkimia.so:${PORTSDIR}/finance/libalkimia

USES=       cmake pkgconfig shared-mime-info shebangfix tar:xz
USE_QT4=    gui dbus network phonon sql svg xml \
        qmake_build moc_build rcc_build uic_build
USE_KDE4=   kdeprefix automoc4 kdelibs pimlibs
USE_LDCONFIG=   yes

SHEBANG_FILES=  kmymoney/misc/financequote.pl

OPTIONS_DEFINE=     NLS CALENDAR KBANKING OFX QUOTES
OPTIONS_DEFAULT=    CALENDAR
OPTIONS_SUB=        yes
NO_OPTIONS_SORT=    yes

NLS_USES=       gettext
NLS_CMAKE_ON=       -DBUILD_po:BOOL=ON
NLS_CMAKE_OFF=      -DBUILD_po:BOOL=OFF

CALENDAR_DESC=      Enable Calendar plugin
CALENDAR_LIB_DEPENDS=   libical.so:${PORTSDIR}/devel/libical
CALENDAR_CMAKE_ON=  -DENABLE_LIBICAL:BOOL=ON
CALENDAR_CMAKE_OFF= -DENABLE_LIBICAL:BOOL=OFF

KBANKING_DESC=      Enable KBanking plugin
KBANKING_LIB_DEPENDS=   libgwengui-qt4.so:${PORTSDIR}/devel/gwenhywfar-qt4 \
            libaqbanking.so:${PORTSDIR}/finance/aqbanking
KBANKING_CMAKE_ON=  -DENABLE_KBANKING:BOOL=ON
KBANKING_CMAKE_OFF= -DENABLE_KBANKING:BOOL=OFF

OFX_DESC=       Enable OFX plugin
OFX_LIB_DEPENDS=    libofx.so:${PORTSDIR}/finance/libofx
OFX_CMAKE_ON=       -DENABLE_LIBOFX:BOOL=ON
OFX_CMAKE_OFF=      -DENABLE_LIBOFX:BOOL=OFF

QUOTES_DESC=        Enable online price quotes
QUOTES_USES=        perl5
QUOTES_USE=     PERL5=run
QUOTES_RUN_DEPENDS= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
            p5-Finance-Quote>=0:${PORTSDIR}/finance/p5-Finance-Quote \
            p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
            p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \
            p5-libwww>=0:${PORTSDIR}/www/p5-libwww

.include <bsd.port.mk>