diff --git a/trunk/dports/devel/akonadi/Portfile b/trunk/dports/devel/akonadi/Portfile
a
|
b
|
|
1 | 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 | # kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4; |
2 | 3 | # $Id$ |
3 | 4 | |
4 | 5 | PortSystem 1.0 |
… |
… |
|
5 | 6 | PortGroup kde4 1.1 |
6 | 7 | PortGroup compiler_blacklist_versions 1.0 |
7 | 8 | |
| 9 | fetch.type git |
| 10 | if {[file exists /Users/bertin/cworks/new/KDE/kdepim/akonadi-git]} { |
| 11 | git.url /Users/bertin/cworks/new/KDE/kdepim/akonadi-git |
| 12 | } else { |
| 13 | git.url git://anongit.kde.org/akonadi |
| 14 | } |
| 15 | git.branch c733429f |
| 16 | |
8 | 17 | name akonadi |
9 | | version 1.13.0 |
10 | | revision 1 |
| 18 | set akoversion 1.13.1 |
| 19 | version ${akoversion}.20141210 |
11 | 20 | categories devel kde kde4 |
12 | 21 | maintainers nicos openmaintainer |
13 | 22 | license LGPL-2+ |
… |
… |
|
16 | 25 | for PIM data and metadata providing concurrent read, write, and query access. |
17 | 26 | platforms darwin |
18 | 27 | homepage http://community.kde.org/KDE_PIM/Akonadi |
19 | | master_sites kde:stable/${name}/src/ |
20 | | use_bzip2 yes |
21 | 28 | |
22 | | checksums rmd160 411e4e3b203cd9681b10d21af75806f723a687ec \ |
23 | | sha256 8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 |
| 29 | worksrcdir ${name}-${akoversion} |
| 30 | distname ${name}-${akoversion} |
24 | 31 | |
25 | 32 | depends_lib-append port:soprano \ |
26 | 33 | port:boost \ |
… |
… |
|
31 | 38 | compiler.blacklist-append {clang < 500} |
32 | 39 | |
33 | 40 | configure.args-append -DPOSTGRES_PATH=Off |
| 41 | # mute akonadiserver which is usually overly chatty: |
| 42 | configure.cflags-append -DQT_NO_DEBUG_OUTPUT |
| 43 | configure.cxxflags-append -DQT_NO_DEBUG_OUTPUT |
34 | 44 | |
35 | 45 | set startup_root "" |
36 | 46 | post-destroot { |
… |
… |
|
177 | 187 | default_variants +mariadb55 |
178 | 188 | } |
179 | 189 | |
| 190 | # package require fileutil |
180 | 191 | post-patch { |
181 | | # fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict |
182 | | # with the 'utils.h' header installed by the cdparanoia port |
183 | | fs-traverse item ${workpath}/${distname} { |
| 192 | fs-traverse item ${workpath}/${distname}/server { |
184 | 193 | if {[file isfile ${item}]} { |
| 194 | # # fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict |
| 195 | # # with the 'utils.h' header installed by the cdparanoia port |
| 196 | # # do this only on the files actually containing the pattern (which would also exclude the |
| 197 | # # .git directory) |
| 198 | # if {[::fileutil::grep "include.*utils.h" ${item}] != ""} { |
| 199 | # reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item} |
| 200 | # } |
185 | 201 | reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item} |
186 | 202 | } |
187 | 203 | } |
… |
… |
|
188 | 204 | reinplace "s|/Applications|${applications_dir}|" ${worksrcpath}/CMakeLists.txt |
189 | 205 | } |
190 | 206 | |
| 207 | variant verbose description {Enable debug output (chatty!)} { |
| 208 | configure.cflags-delete -DQT_NO_DEBUG_OUTPUT |
| 209 | configure.cxxflags-delete -DQT_NO_DEBUG_OUTPUT |
| 210 | } |
| 211 | |
191 | 212 | platform darwin { |
192 | | #Deactivate tests for 10.8 and lower, as they require full C++11 support (ticket #45300) |
193 | | patchfiles-append patch-tests.diff |
| 213 | #Deactivate tests as they require full C++11 support (ticket #45300) |
194 | 214 | configure.args-append -DAKONADI_BUILD_TESTS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF |
195 | | |
196 | 215 | if {${os.major} == 9} { |
197 | 216 | if {[info exists universal_target] && ${universal_target} == "10.4"} { |
198 | 217 | # Needed if compiling for 10.4 universal on 10.5 |
… |
… |
|
203 | 222 | } |
204 | 223 | } |
205 | 224 | |
206 | | livecheck.type regex |
207 | | livecheck.url http://kde.mirrors.hoobly.com/stable/akonadi/src/ |
208 | | livecheck.regex ${name}-(\\d+(\\.\\d+)+) |
| 225 | livecheck.type none |
| 226 | No newline at end of file |