Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (49 sloc) 2.06 KB
# -*- 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
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 ebeeced0715a82327ae0e2ee833cf93fc3029366
name kmymoney4-devel
version 4.8.1-20171206
revision 2
categories kde kde4 finance
maintainers {pixilla @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
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
}