2004-07-25 14:19:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2010-05-04 01:50:54 +02:00
|
|
|
PORTNAME= kmymoney
|
2012-09-13 15:03:48 +02:00
|
|
|
PORTVERSION= 4.6.3
|
2013-01-31 14:38:42 +01:00
|
|
|
PORTREVISION= 2
|
2011-02-28 20:51:58 +01:00
|
|
|
CATEGORIES= finance kde
|
2010-09-25 17:53:48 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}
|
2004-07-25 14:19:41 +02:00
|
|
|
|
2012-09-13 06:45:58 +02:00
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
2012-09-13 15:03:48 +02:00
|
|
|
COMMENT= KDE4 personal finance manager
|
2004-07-25 14:19:41 +02:00
|
|
|
|
2011-08-31 01:28:56 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-09-01 19:05:14 +02:00
|
|
|
LIB_DEPENDS= boost_graph:${PORTSDIR}/devel/boost-libs \
|
|
|
|
alkimia:${PORTSDIR}/finance/libalkimia
|
|
|
|
|
2012-09-13 15:03:48 +02:00
|
|
|
OPTIONS_DEFINE= NLS CALENDAR KBANKING OFX QUOTES
|
2012-09-01 19:05:14 +02:00
|
|
|
OPTIONS_DEFAULT=CALENDAR
|
2012-09-13 15:03:48 +02:00
|
|
|
NO_OPTIONS_SORT=yes
|
2012-09-01 19:05:14 +02:00
|
|
|
|
|
|
|
CALENDAR_DESC= Enable Calendar plugin
|
|
|
|
KBANKING_DESC= Enable KBanking plugin
|
|
|
|
OFX_DESC= Enable OFX plugin
|
|
|
|
QUOTES_DESC= Enable online price quotes
|
2010-03-02 01:07:06 +01:00
|
|
|
|
2008-10-14 13:40:54 +02:00
|
|
|
USE_BZIP2= yes
|
2013-04-23 12:23:53 +02:00
|
|
|
USES= cmake pkgconfig
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= gui dbus network phonon sql svg xml \
|
2010-05-04 08:36:52 +02:00
|
|
|
qmake_build moc_build rcc_build uic_build
|
2010-05-04 01:50:54 +02:00
|
|
|
USE_KDE4= kdehier kdeprefix automoc4 kdelibs pimlibs sharedmime
|
2006-09-05 19:28:41 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2010-05-04 01:50:54 +02:00
|
|
|
MAN1= kmymoney.1
|
2004-07-25 14:19:41 +02:00
|
|
|
|
2010-05-04 01:50:54 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-07-31 19:17:56 +02:00
|
|
|
|
2012-09-13 15:03:48 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2012-09-13 15:03:48 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DENABLE_NLS:BOOL=OFF
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-09-01 19:05:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MCALENDAR}
|
|
|
|
LIB_DEPENDS+= ical:${PORTSDIR}/devel/libical
|
2010-05-04 01:50:54 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_LIBICAL:BOOL=ON
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= CALENDAR=""
|
2010-05-04 01:50:54 +02:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DENABLE_LIBICAL:BOOL=OFF
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= CALENDAR="@comment "
|
2010-05-04 01:50:54 +02:00
|
|
|
.endif
|
2008-11-11 22:20:09 +01:00
|
|
|
|
2012-09-01 19:05:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MKBANKING}
|
|
|
|
LIB_DEPENDS+= gwengui-qt4:${PORTSDIR}/devel/gwenhywfar-qt4 \
|
|
|
|
aqbanking:${PORTSDIR}/finance/aqbanking
|
2010-05-04 01:50:54 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_KBANKING:BOOL=ON
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= KBANKING=""
|
2010-05-04 01:50:54 +02:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DENABLE_KBANKING:BOOL=OFF
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= KBANKING="@comment "
|
2010-05-04 01:50:54 +02:00
|
|
|
.endif
|
2008-11-11 22:20:09 +01:00
|
|
|
|
2012-09-01 19:05:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MOFX}
|
|
|
|
LIB_DEPENDS+= ofx:${PORTSDIR}/finance/libofx
|
2010-05-04 01:50:54 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_LIBOFX:BOOL=ON
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= OFX=""
|
2010-03-02 01:07:06 +01:00
|
|
|
.else
|
2010-05-04 01:50:54 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_LIBOFX:BOOL=OFF
|
2012-09-01 19:05:14 +02:00
|
|
|
PLIST_SUB+= OFX="@comment "
|
2008-11-11 22:20:09 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-01 19:05:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MQUOTES}
|
2010-09-25 17:53:48 +02:00
|
|
|
USE_PERL5_RUN= yes
|
2012-06-30 16:53:22 +02:00
|
|
|
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
|
2010-05-04 01:50:54 +02:00
|
|
|
.endif
|
2009-07-06 00:18:54 +02:00
|
|
|
|
2010-05-04 01:50:54 +02:00
|
|
|
.include <bsd.port.mk>
|