# -*- 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                khangman
version             4.14.3
revision            3
categories          kde kde4
maintainers         nomaintainer
license             GPL-2+ LGPL-2.1+ GFDL-1.2
description         hangman game
long_description    KDE ${description}
homepage            https://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu

master_sites        kde:stable/${version}/src/
use_xz              yes

checksums           rmd160  1a6fda737d5f729989b30e9aa680fb503e971ad5 \
                    sha256  3d7e721a72d1477f630af985c88658a677c1ec8d380d3a6f838b6aa71f75ad71

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

#Prevents the package to build a framework
patchfiles          patch-CMakeLists-engine.diff \
                    patch-pointers.diff

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

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