# -*- 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
PortGroup           kde4   1.1

name                kate
version             4.14.3
revision            5
categories          kde kde4
license             LGPL-2+
maintainers         nomaintainer
description         Kate provides advanced editor components.
long_description    The Kate project develops two main products: KatePart, the advanced \
                    editor component which is used in numerous KDE applications requiring \
                    a text editing component, and Kate, a MDI text editor application. \
                    In addition, we provide KWrite, a simple SDI editor shell which allows \
                    the user to select his/her favourite editor component.
homepage            https://kate-editor.org
master_sites        kde:stable/${version}/src/
use_xz              yes
distname            kate-${version}
checksums           rmd160  195cfac39111a1434b6b5c60543b219a70c0c74e \
                    sha256  513d4ae2c36fa6b59caf3b2b685e3ea1167093d16025859cfac90d75617e707d \
                    size    2766880

depends_lib-append  port:kactivities \
                    port:kdelibs4 \
                    port:oxygen-icons \
                    port:qjson

#Avoids weird behaviour with Zoom on OS X (https://git.reviewboard.kde.org/r/120319/)
patchfiles          patch-Zoom.diff \
                    patch-kateviewhelpers.diff

# https://trac.macports.org/ticket/37596
compiler.blacklist-append \
                    gcc-3.* *gcc-4.0 *gcc-4.2

livecheck.url       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)
