Permalink
Find file Copy path
62 lines (47 sloc) 2.03 KB
# -*- 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
PortSystem 1.0
# See dports/_resources/port1.0/group/kde4-1.1.tcl for more info.
PortGroup kde4 1.1
name kmymoney4
version 4.7.2
revision 8
categories kde kde4 finance
maintainers {pixilla @pixilla} openmaintainer
description kmymoney version 4
long_description KMyMoney is the personal finance manager for KDE.
platforms darwin
license GPL-2+
homepage http://kmymoney2.sourceforge.net/index-home.html
master_sites http://download.kde.org/stable/kmymoney/${version}/src/
livecheck.type regex
livecheck.url http://download.kde.org/stable/kmymoney
livecheck.regex "(4\\.\\d+?(\\.\\d+))/"
distname kmymoney-${version}
use_xz yes
build.asroot yes
checksums md5 523e6bde2fd71453aa2d38711ae47342 \
sha1 f9854f59377343418b5bdd12a34887aa0a821ca6 \
rmd160 8b1c62955c1821ff986bf4a888e82af6bcbfecd6
conflicts kmymoney4-devel
depends_lib-append port:libofx \
port:aqbanking5 \
port:kdepimlibs4 \
port:oxygen-icons \
port:kde4-runtime \
port:libalkimia
patch.dir ${workpath}/${distname}
patch.pre_args -p1
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:
pre-configure {
reinplace "s|%PREFIX%|${prefix}|g" \
${worksrcpath}/CMakeLists.txt
}