# -*- 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 120216 2014-05-19 16:37:14Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                palapeli
version             4.12.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  9a1c86b3cd575a2037909fa0869353da280f3fdd \
                    sha256  7f08e99ed9c390469c897547c6d81c56d29fdb710f77e4c5e1026a58aa6aa812

#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       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
