# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 112975 2013-11-05 22:18:43Z mk@macports.org $

PortSystem          1.0
PortGroup           kde4    1.1

name                skrooge
version             1.8.0

categories          kde finance
maintainers         mk pixilla openmaintainer
description         Skrooge
long_description    Personal finance management tool for KDE4, with the aim of being highly intuitive, while \
                    providing powerful functions such as reporting (including graphics), persistent \
                    Undo/Redo, encryption, and much more...

conflicts           skrooge-devel

platforms           darwin
license             GPL-3

homepage            http://skrooge.org
master_sites        http://download.kde.org/stable/skrooge

use_bzip2           yes

checksums           rmd160  48b8779f6e7522a360709d12c16bf7325c8566ff \
                    sha256  98c0ed6cfefd4c6c92a010a1ab9afc1ef230eacc391a45aa200901ba6fb3bf08

livecheck.type      regex
livecheck.url       http://skrooge.org
livecheck.regex     "Skrooge (\[\\d+.\]+) released"

depends_lib-append  port:kdelibs4 \
                    port:libofx \
                    port:qca-ossl \
                    port:kde4-runtime \
                    port:oxygen-icons \
                    port:qt4-mac-sqlite3-plugin

patch.dir           ${workpath}/${distname}
patchfiles          patch-CMakeLists.txt.diff
