Ticket #44351: Portfile-phonon.diff

File Portfile-phonon.diff, 911 bytes (added by springermac (Jonathan Springer), 10 years ago)

Update portfile with upped revision

  • ports/audio/phonon/Portfile

    old new  
    66PortGroup           cmake 1.0
    77
    88name                phonon
    99version             4.7.1
     10revision            1
    1011categories          audio kde kde4
    1112license             {LGPL-2.1 LGPL-3}
    1213maintainers         michaelld openmaintainer
     
    6061    move ${destroot}${prefix}/lib/cmake/phonon \
    6162        ${destroot}${qt_cmake_module_dir}
    6263
     64    # fix phonon cmake
     65    fs-traverse file ${destroot} {
     66        if {[file extension ${file}] eq ".cmake"} {
     67                    reinplace "s|\${_IMPORT_PREFIX}/lib|\${PHONON_LIBRARY_DIR}|g" ${file}
     68                    reinplace "s|\${currentDir}/../../../|\${currentDir}/../../../../|g" ${file}
     69        }
     70    }
     71
    6372}
    6473
    6574livecheck.type          regex