# -*- 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
# $Id: Portfile 91775 2012-04-10 13:13:13Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kolourpaint
version             4.8.2
categories          kde kde4
license             LGPL-2 LGPL-2+ BSD
maintainers         nicos openmaintainer
description         KolourPaint is a free, easy-to-use paint program for KDE.
long_description    ${description}
platforms           darwin
homepage            http://kolourpaint.sourceforge.net/
master_sites        kde:stable/${version}/src/
use_xz              yes
distname            kolourpaint-${version}
checksums           rmd160  87d8a47f3d240bbdbddc2d63fc58acd03cb6e875 \
                    sha256  6f65c65c466942b6beb075edfbfae00db04d476c0fbff6173d4393d22dc7dd24

depends_lib-append  port:kdelibs4 \
                    port:oxygen-icons \
                    port:qimageblitz

if {![variant_isset doc]} {
    patchfiles      patch-CMakeLists.txt.diff
}

livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
livecheck.regex     kolourpaint-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
