Ticket #46952: Portfile2.diff

File Portfile2.diff, 2.3 KB (added by NicosPavlov, 10 years ago)
  • Portfile

    old new  
    55PortGroup           kde4    1.1
    66PortGroup           compiler_blacklist_versions 1.0
    77
     8#Fetch from git repository to follow updates after the end of KDE4 public releases
     9fetch.type          git
     10git.url             git://anongit.kde.org/akonadi
     11git.branch          c733429f
     12
    813name                akonadi
    9 version             1.13.0
    10 revision            1
     14set akoversion      1.13.1
     15version             ${akoversion}.20141210
    1116categories          devel kde kde4
    1217maintainers         nicos openmaintainer
    1318license             LGPL-2+
     
    1621for PIM data and metadata providing concurrent read, write, and query access.
    1722platforms           darwin
    1823homepage            http://community.kde.org/KDE_PIM/Akonadi
    19 master_sites        kde:stable/${name}/src/
    20 use_bzip2           yes
    21 
    22 checksums           rmd160  411e4e3b203cd9681b10d21af75806f723a687ec \
    23                     sha256  8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2
    2424
    2525depends_lib-append  port:soprano \
    2626                    port:boost \
     
    3131compiler.blacklist-append   {clang < 500}
    3232
    3333configure.args-append  -DPOSTGRES_PATH=Off
     34# mute akonadiserver which is usually overly chatty:
     35configure.cflags-append     -DQT_NO_DEBUG_OUTPUT
     36configure.cxxflags-append   -DQT_NO_DEBUG_OUTPUT
    3437
    3538set startup_root ""
    3639post-destroot {
     
    180183post-patch {
    181184    # fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict
    182185    # with the 'utils.h' header installed by the cdparanoia port
     186    delete file ${worksrcpath}/.git
    183187    fs-traverse item ${workpath}/${distname} {
    184188        if {[file isfile ${item}]} {
    185189            reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item}
     
    189193}
    190194
    191195platform 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)
    194197    configure.args-append -DAKONADI_BUILD_TESTS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF
    195198
    196199    if {${os.major} == 9} {
     
    203206    }
    204207}
    205208
    206 livecheck.type      regex
    207 livecheck.url       http://kde.mirrors.hoobly.com/stable/akonadi/src/
    208 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)
     209livecheck.type      none