# -*- 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                kubrick
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nicos openmaintainer
description         Kubrick is a game based on the Rubik's Cubeā„¢ puzzle. 
long_description    ${description} The cube sizes range from 2x2x2 up to 6x6x6, \
                    or you can play with irregular "bricks" such as 5x3x2 or "mats" \
                    such as 6x4x1 or 2x2x1. 
platforms           darwin
homepage            https://www.kde.org/applications/games/kubrick/
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  40fd60087b99bcfd6b6292a2769f0c64bf57f66a \
                    sha256  137143818750e3f7beb22a7a9f1e5b3aaa40bfb2e36857f2b699ccb6c41f45e9

#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       ${kde4.mirror}
livecheck.regex     (\\d+(\\.\\d+)+)