# -*- 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                kmines
version             4.14.3
revision            3
categories          kde kde4 games
license             GPL-2+
maintainers         nomaintainer
description         KMines is the classic Minesweeper game. 
long_description    ${description} The idea is to uncover all the squares without \
                    blowing up any mines. When a mine is blown up, the game is over.
platforms           darwin
homepage            http://games.kde.org/game.php?game=kmines
master_sites        kde:stable/${version}/src
use_xz              yes
distname            ${name}-${version}
checksums           rmd160  1186bd50b77cf8f94debc9c7d238c840d9c6b8f4 \
                    sha256  d360c5f2ca79cf1fc4d394b7ccaebb60a903ab993522eb54122c8a7bf2fb7480

#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+)+)
