Ticket #44236: Portfile

File Portfile, 2.1 KB (added by RJVB (René Bertin), 9 years ago)

kde4-workspace Portfile

Line 
1# -*- 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
2# $Id: Portfile 120204 2014-05-19 15:26:03Z nicos@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                kde4-workspace
8version             4.14.1
9revision            1
10set plasmaversion   4.11.12
11categories          kde kde4
12maintainers         rjvbertin@gmail.com
13license             GPL-2+ LGPL-2.1+
14description         KDE Workspace
15long_description    Brings certain aspects of Linux/X11 KDE workspaces ("Plasma") to OS X, \
16                    notably the System Settings application and the Oxygen style.\
17                    KDE ${version} has Plasma ${plasmaversion}
18platforms           darwin
19homepage            http://www.kde.org/workspaces/
20master_sites        kde:stable/${version}/src/
21use_xz              yes
22distname            kde-workspace-${plasmaversion}
23
24checksums           rmd160  e5f4ed10a6791b9a6cea37ec13d8a1141fd9707b \
25                    sha256  09d8ae1ac1b704fc919bdedfec47c6561033dca125b0096cb9ed398445fa942f
26
27#Fully removing X11 only function to prevent automoc to include it
28patchfiles          patch-CmakeLists-for-OSX.patch \
29                    libs-CmakeLists-deactivate-taskmanager.patch \
30                    patch-KControl-CmakeLists.patch \
31                    krdb-noX11onOSX.patch
32
33depends_build-append port:boost \
34                    port:freetype \
35                    port:libusb
36
37depends_lib-append  port:kdelibs4 \
38                    port:kdepimlibs4 \
39                    port:kactivities \
40                    port:nepomuk-core \
41                    port:libqalculate \
42                    port:phonon \
43                    port:qjson \
44                    port:qimageblitz
45
46configure.args-append  -DBUILD_webkit:BOOL=ON
47
48variant nostrip description {Prevent stripping of binaries} {}
49
50if { [variant_isset nostrip] } {
51        configure.args-delete -DCMAKE_BUILD_TYPE=Release
52        configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
53}
54
55livecheck.url       http://kde.mirrors.hoobly.com/stable/
56livecheck.regex     (\\d+(\\.\\d+)+)