Ticket #32103: mumble.diff
File mumble.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
6 6 7 7 name mumble 8 8 version 1.2.2 9 revision 39 revision 4 10 10 categories aqua audio 11 11 license GPL 12 12 maintainers snc openmaintainer … … 80 80 build.env-append QMAKESPEC=${qt_mkspecs_dir}/macx-g++ 81 81 82 82 destroot { 83 file copy ${worksrcpath}/release/Mumble.app ${ prefix}${applications_dir}/Mumble.app84 file copy ${worksrcpath}/release/plugins ${ prefix}${applications_dir}/Mumble.app/Contents/Plugins83 file copy ${worksrcpath}/release/Mumble.app ${destroot}${applications_dir}/Mumble.app 84 file copy ${worksrcpath}/release/plugins ${destroot}${applications_dir}/Mumble.app/Contents/Plugins 85 85 } 86 87 pre-activate { 88 # mumble 1.1.8_0 thru 1.2.2_3 installed these items directly to 89 # ${prefix}${applications_dir}; remove them if found 90 foreach file {Mumble.app} { 91 set filepath ${prefix}${applications_dir}/${file} 92 if {[file exists ${filepath}]} { 93 if {[catch {delete ${filepath}}]} { 94 ui_warn "Cannot delete ${filepath}; please remove it manually" 95 } 96 } 97 } 98 }