Ticket #50724: patch-audacity-en.diff

File patch-audacity-en.diff, 1.4 KB (added by dbevans (David B. Evans), 9 years ago)

Revised patch

  • Portfile

     
    99PortGroup           github 1.0
    1010github.setup        audacity audacity 2.1.2 Audacity-
    1111github.tarball_from releases
     12revision            1
    1213master_sites        https://github.com/audacity/audacity/archive/
    1314distname            Audacity-${version}
    1415checksums           rmd160  4e0c508b8edd24935a235c0b1a636c4ef1ae59a9 \
     
    155156                    CPPFLAGS=-I${prefix}/include \
    156157                    WX_CONFIG=${wxWidgets.wxconfig}
    157158
     159set aud_app_path        ${applications_dir}/Audacity.app
     160destroot.keepdirs       ${destroot}${aud_app_path}/Contents/Resources/en.lproj
     161
    158162post-destroot {
    159163    # create the app bundle infrastructure
    160     set aud_app_path ${applications_dir}/Audacity.app
    161164    xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/MacOS
    162165    xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources
    163166    # the BundleExec:
     
    176179        ln -s ${prefix}/share/audacity/[file tail ${r}] ${destroot}${aud_app_path}/Contents/Resources
    177180    }
    178181    # install translation resources
     182    xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources/en.lproj
    179183    foreach l [glob -nocomplain ${destroot}${prefix}/share/locale/*] {
    180184        set lang [file tail ${l}]
    181185        xinstall -m 755 -d ${destroot}${aud_app_path}/Contents/Resources/${lang}.lproj