# -*- 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 135270 2015-04-21 11:28:04Z nicos@macports.org $ PortSystem 1.0 PortGroup kde4 1.1 fetch.type git git.url git://anongit.kde.org/kde-workspace git.branch b904af16 name kde4-workspace version 4.14.4.20150324 set plasmaversion 4.11.17 categories kde kde4 maintainers gmail.com:rjvbertin license GPL-2+ LGPL-2.1+ description KDE Workspace long_description Brings certain aspects of Linux/X11 KDE workspaces ("Plasma") to OS X, \ notably the System Settings application and the Oxygen style.\ KDE ${version} has Plasma ${plasmaversion} platforms darwin homepage http://www.kde.org/workspaces/ master_sites kde:stable/${version}/src/ use_xz yes #distname kde-workspace-${plasmaversion} #checksums rmd160 e5f4ed10a6791b9a6cea37ec13d8a1141fd9707b \ # sha256 09d8ae1ac1b704fc919bdedfec47c6561033dca125b0096cb9ed398445fa942f patchfiles patch-CMakeLists-for-OSX.patch \ patch-libs-CMakeLists.patch \ patch-kcontrol.patch \ systemsettings-correct-menuplacement.patch depends_build-append port:boost \ port:freetype \ port:libusb depends_lib-append port:kdelibs4 \ port:kdepimlibs4 \ port:kactivities \ port:nepomuk-core \ port:libqalculate \ port:qjson \ port:qimageblitz configure.args-append -DBUILD_webkit:BOOL=ON configure.args-delete -DCMAKE_BUILD_TYPE=Release configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo variant oxygen description {Build the Oxygen theme} { patchfiles-append no-oxygen-theme.patch } default_variants +oxygen post-destroot { ln -s ${applications_dir}/KDE4/plasma-windowed.app/Contents/MacOS/plasma-windowed ${destroot}${prefix}/bin/plasma-windowed } livecheck.type none #livecheck.url http://kde.mirrors.hoobly.com/stable/ #livecheck.regex (\\d+(\\.\\d+)+)