# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 # See dports/_resources/port1.0/group/kde4-1.1.tcl for more info. PortGroup kde4 1.1 fetch.type git git.url git://anongit.kde.org/kmymoney git.branch 485aea8e20604cf79612f62d1393fde9872c0273 name kmymoney4-devel version 4.8-20161022 categories kde kde4 finance maintainers mk pixilla openmaintainer description KMyMoney version 4 following git master as close as possible. long_description KMyMoney is the personal finance manager for KDE. This port is following git master as close as possible. platforms darwin license GPL-2+ homepage http://kmymoney.org master_sites sourceforge:kmymoney2 livecheck.type none distname kmymoney conflicts kmymoney4 build.asroot yes depends_lib-append port:libofx \ path:lib/libaqbanking.dylib:aqbanking5-devel \ port:kde4-runtime \ port:kdepimlibs4 \ port:oxygen-icons \ port:libalkimia patch.dir ${workpath}/${distname} patch.pre_args -p1 patchfiles patch-mainRaster.diff \ patch-CMakeLists_QGPGME.txt.diff if {![variant_isset docs]} { patchfiles-append patch_remove_manpage.diff patch-CMakeLists_remove_APIDOC.txt.diff } # This is needed for patch-CMakeLists_QGPGME.txt.diff: pre-configure { reinplace "s|%PREFIX%|${prefix}|g" \ ${worksrcpath}/CMakeLists.txt } configure.args-append -DENABLE_KBANKING=ON \ -DKDE4_BUILD_TESTS=OFF variant tests description "Enable building tests." { configure.args-delete -DKDE4_BUILD_TESTS=OFF test.run yes test.env DYLD_LIBRARY_PATH=${workpath}/build/lib } variant debug description "Enable debug." { configure.args-append -DCMAKE_BUILD_TYPE=Debugfull }