Ticket #46952: Portfile2.diff
File Portfile2.diff, 2.3 KB (added by NicosPavlov, 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup kde4 1.1 6 6 PortGroup compiler_blacklist_versions 1.0 7 7 8 #Fetch from git repository to follow updates after the end of KDE4 public releases 9 fetch.type git 10 git.url git://anongit.kde.org/akonadi 11 git.branch c733429f 12 8 13 name akonadi 9 version 1.13.0 10 revision 1 14 set akoversion 1.13.1 15 version ${akoversion}.20141210 11 16 categories devel kde kde4 12 17 maintainers nicos openmaintainer 13 18 license LGPL-2+ … … 16 21 for PIM data and metadata providing concurrent read, write, and query access. 17 22 platforms darwin 18 23 homepage http://community.kde.org/KDE_PIM/Akonadi 19 master_sites kde:stable/${name}/src/20 use_bzip2 yes21 22 checksums rmd160 411e4e3b203cd9681b10d21af75806f723a687ec \23 sha256 8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd224 24 25 25 depends_lib-append port:soprano \ 26 26 port:boost \ … … 31 31 compiler.blacklist-append {clang < 500} 32 32 33 33 configure.args-append -DPOSTGRES_PATH=Off 34 # mute akonadiserver which is usually overly chatty: 35 configure.cflags-append -DQT_NO_DEBUG_OUTPUT 36 configure.cxxflags-append -DQT_NO_DEBUG_OUTPUT 34 37 35 38 set startup_root "" 36 39 post-destroot { … … 180 183 post-patch { 181 184 # fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict 182 185 # with the 'utils.h' header installed by the cdparanoia port 186 delete file ${worksrcpath}/.git 183 187 fs-traverse item ${workpath}/${distname} { 184 188 if {[file isfile ${item}]} { 185 189 reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item} … … 189 193 } 190 194 191 195 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 196 #Deactivate tests, as they require full C++11 support (ticket #45300) 194 197 configure.args-append -DAKONADI_BUILD_TESTS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF 195 198 196 199 if {${os.major} == 9} { … … 203 206 } 204 207 } 205 208 206 livecheck.type regex 207 livecheck.url http://kde.mirrors.hoobly.com/stable/akonadi/src/ 208 livecheck.regex ${name}-(\\d+(\\.\\d+)+) 209 livecheck.type none