# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# See dports/_resources/port1.0/group/kde4-1.1.tcl for more info.
categories kde kde4 finance
description kmymoney version 4
long_description KMyMoney is the personal finance manager for KDE.
homepage http://kmymoney2.sourceforge.net/index-home.html
master_sites http://download.kde.org/stable/kmymoney/${version}/src/
livecheck.url http://download.kde.org/stable/kmymoney
livecheck.regex "(4\\.\\d+?(\\.\\d+))/"
distname kmymoney-${version}
checksums md5 523e6bde2fd71453aa2d38711ae47342 \
sha1 f9854f59377343418b5bdd12a34887aa0a821ca6 \
rmd160 8b1c62955c1821ff986bf4a888e82af6bcbfecd6
conflicts kmymoney4-devel
depends_lib-append port:libofx \
patch.dir ${workpath}/${distname}
patchfiles patch-mainRaster.diff \
patch-CMakeLists_QGPGME.txt.diff \
patch-CMakeLists_kmymoneysettings.h.diff
# OK, let's try building with documentation and see whether we end up with meinproc crashing again:
# patch-CMakeLists.txt.diff \
# patch-CMakeLists_remove_APIDOC.txt.diff \
# patch_remove_manpage_and_APIDOC.diff \
# This is needed for patch-CMakeLists_QGPGME.txt.diff:
reinplace "s|%PREFIX%|${prefix}|g" \
${worksrcpath}/CMakeLists.txt