# -*- 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 107854 2013-07-07 13:08:30Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                palapeli
version             4.10.5
categories          kde kde4 games
license             GPL-2+ LGPL-2+
maintainers         nicos openmaintainer
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            http://www.kde.org/applications/games/palapeli/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  67bbe2b79db4c06ec908a092453f1ee8525f5c55 \
                    sha256  4a0346d250c4097ab9428a5f5d04dd38aba49b9ac8214ff7e6e9fbb3d5bd1b8e

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

depends_lib-append  port:kdelibs4 \
                    port:libkdegames

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

livecheck.url       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
