Ticket #50724: patch-audacity-en.diff
File patch-audacity-en.diff, 1.4 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
9 9 PortGroup github 1.0 10 10 github.setup audacity audacity 2.1.2 Audacity- 11 11 github.tarball_from releases 12 revision 1 12 13 master_sites https://github.com/audacity/audacity/archive/ 13 14 distname Audacity-${version} 14 15 checksums rmd160 4e0c508b8edd24935a235c0b1a636c4ef1ae59a9 \ … … 155 156 CPPFLAGS=-I${prefix}/include \ 156 157 WX_CONFIG=${wxWidgets.wxconfig} 157 158 159 set aud_app_path ${applications_dir}/Audacity.app 160 destroot.keepdirs ${destroot}${aud_app_path}/Contents/Resources/en.lproj 161 158 162 post-destroot { 159 163 # create the app bundle infrastructure 160 set aud_app_path ${applications_dir}/Audacity.app161 164 xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/MacOS 162 165 xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources 163 166 # the BundleExec: … … 176 179 ln -s ${prefix}/share/audacity/[file tail ${r}] ${destroot}${aud_app_path}/Contents/Resources 177 180 } 178 181 # install translation resources 182 xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources/en.lproj 179 183 foreach l [glob -nocomplain ${destroot}${prefix}/share/locale/*] { 180 184 set lang [file tail ${l}] 181 185 xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources/${lang}.lproj