# -*- 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                palapeli
version             4.14.3
revision            5
categories          kde kde4 games
license             GPL-2+ LGPL-2+
maintainers         nomaintainer
description         Palapeli is a single-player jigsaw puzzle game.
long_description    ${description} Unlike other games in that genre, you are not \
                    limited to aligning pieces on imaginary grids. The pieces are \
                    freely moveable. Also, Palapeli features real persistency, \
                    i.e. everything you do is saved on your disk immediately.
platforms           darwin
homepage            https://www.kde.org/applications/games/palapeli/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  be0b51037a44bee1331b3b45d61487f1d2a93c4f \
                    sha256  b3a817f65f37c103e2a8bd16cb91ef7e76190135cb389702cffa831929a53323

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

depends_lib-append  port:kdelibs4 \
                    port:libkdegames \
                    port:qhull

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

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