Ticket #44351: Portfile-phonon.diff
File Portfile-phonon.diff, 911 bytes (added by springermac (Jonathan Springer), 10 years ago) |
---|
-
ports/audio/phonon/Portfile
old new 6 6 PortGroup cmake 1.0 7 7 8 8 name phonon 9 9 version 4.7.1 10 revision 1 10 11 categories audio kde kde4 11 12 license {LGPL-2.1 LGPL-3} 12 13 maintainers michaelld openmaintainer … … 60 61 move ${destroot}${prefix}/lib/cmake/phonon \ 61 62 ${destroot}${qt_cmake_module_dir} 62 63 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 63 72 } 64 73 65 74 livecheck.type regex