source: trunk/dports/kde/kget/Portfile

Last change on this file was 153563, checked in by nicos@…, 12 months ago

kde4-runtime, kdepim4, kget: fix compilation after change in kdepimlibs4 in r153162 (ticket #52481)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
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 153563 2016-10-04 14:06:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                kget
8version             4.14.3
9revision            4
10categories          kde kde4
11license             GPL-2+ LGPL-2+
12maintainers         nicos openmaintainer
13description         KGet is a versatile and user-friendly download manager.
14long_description    ${description}
15platforms           darwin
16homepage            http://www.kde.org/applications/internet/kget/
17master_sites        kde:stable/${version}/src/
18use_xz              yes
19
20checksums           rmd160  74d8fd7d503013835e898355cd8d127345fa9df0 \
21                    sha256  696bd583f09d37f8939031b1d4a526076362018d43506a38fa3a54af9d2e32ec
22
23#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
24license_noconflict  openssl
25
26depends_lib-append  port:kdelibs4 \
27                    port:nepomuk-core \
28                    port:nepomuk-widgets \
29                    port:kde4-baseapps \
30                    port:boost \
31                    port:qca \
32                    port:sqlite3 \
33                    port:libktorrent \
34                    port:libmms \
35                    port:libassuan \
36                    port:gpgme
37
38# kde4-baseapps is not universal
39universal_variant   no
40
41configure.args-append   -DWITH_KDE4Workspace=OFF
42
43patchfiles-append       patch-gpgme.diff
44
45if {![variant_isset docs]} {
46    patchfiles-append   patch-CMakeLists.diff
47}
48
49pre-configure {
50    reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/CMakeLists.txt
51}
52
53pre-activate {
54    #Deactivate hack for when kdenetwork4 port has been fragmented into small ports
55    if {[file exists ${prefix}/lib/kde4/sambausershareplugin.so]
56        && ![catch {set vers [lindex [registry_active kdenetwork4] 0]}] 
57        && [vercmp [lindex $vers 1] 4.11.0] < 0} {
58            registry_deactivate_composite kdenetwork4 "" [list ports_nodepcheck 1] 
59    } 
60}
61
62livecheck.url       http://kde.mirrors.hoobly.com/stable/
63livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.