# -*- 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
PortGroup           boost  1.0

name                rocs
version             4.14.3
revision            6
categories          kde kde4
maintainers         nomaintainer
license             GPL-2+ LGPL-2.1 GFDL-1.2
description         Graph Theory IDE
long_description    KDE {*}${description}
homepage            https://www.kde.org

platforms           darwin
depends_lib-append  port:libkdeedu \
                    port:grantlee

master_sites        kde:stable/${version}/src/
use_xz              yes

checksums           rmd160  c148e7720239043b21d112ac32bfa47ca88accd0 \
                    sha256  c1dc2ea6b7e1ab0128a28df1f4e09d9bf83c2a1d0d22ff022a86e7f5fb98d4fc

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

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

compiler.cxx_standard 2011

#Forcing depth to avoid error in Clang Xcode 5:
#recursive template instantiation exceeded maximum depth of 128
configure.cxxflags-append   -ftemplate-depth-1024

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