aboutsummaryrefslogtreecommitdiff
path: root/finance/kmymoney2/Makefile
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-04-07 12:05:39 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-04-07 12:05:39 +0000
commit818d5ebb67644dcc77bccdba5a0a911ffc83066b (patch)
treebd93b36856237b012d13088103d874de274c2e01 /finance/kmymoney2/Makefile
parent1369d392e86e7514578ef7cdd2756205b5811855 (diff)
Notes
Diffstat (limited to 'finance/kmymoney2/Makefile')
-rw-r--r--finance/kmymoney2/Makefile26
1 files changed, 23 insertions, 3 deletions
diff --git a/finance/kmymoney2/Makefile b/finance/kmymoney2/Makefile
index 0b558be20557..306106c60c3f 100644
--- a/finance/kmymoney2/Makefile
+++ b/finance/kmymoney2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= kmymoney2
-PORTVERSION= 0.7.5
-PORTREVISION= 2
+PORTVERSION= 0.8.2
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,6 +14,24 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= alecn2002@yandex.ru
COMMENT= KDE-based personal finance assistant
+LIB_DEPENDS= osp.3:${PORTSDIR}/textproc/opensp
+BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
+
+# Currently no possibility to enable OFX; requires additional work
+.undef WITH_OFX
+WITHOUT_OFX= yes
+
+.if defined(WITH_OFX)
+LIB_DEPENDS+= ofx.2:${PORTSDIR}/finance/libofx
+CONFIGURE_ARGS= --enable-ofxplugin
+OFXPLUGIN=
+.else
+CONFIGURE_ARGS= --enable-ofxplugin=no
+OFXPLUGIN= "@comment "
+.endif
+
+PLIST_SUB+= OFXPLUGIN=${OFXPLUGIN}
+
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
@@ -31,7 +48,10 @@ DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not build on 4.x"
+BROKEN= Does not build on 4.x
.endif
+post-patch:
+ ${REINPLACE_CMD} -E -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure
+
.include <bsd.port.post.mk>