Ignore:
Timestamp:
Oct 20, 2012, 10:07:11 AM (7 years ago)
Author:
hum@…
Message:

emacs-mac-app: fix post-destroot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/emacs-mac-app/Portfile

    r98893 r98895  
    7777    # https://github.com/railwaycat/emacs-mac-port/blob/master/build-emacs.app.sh
    7878    set app_dir ${destroot}${applications_dir}/Emacs.app/Contents/Resources
    79     set compver [exec uname -m]-apple-darwin[exec uname -r]
    8079    foreach d [glob ${destroot}${prefix}/share/emacs/${emacs_version}/*] {
    8180        move ${d} ${app_dir}
     
    8584    move ${destroot}${prefix}/var        ${app_dir}
    8685    move ${destroot}${prefix}/bin        ${app_dir}/../MacOS
    87     move ${destroot}${prefix}/libexec/emacs/${emacs_version}/${compver} \
    88                                          ${app_dir}/../MacOS/libexec
     86    xinstall -d ${app_dir}/../MacOS/libexec
     87    foreach f [glob ${destroot}${prefix}/libexec/emacs/${emacs_version}/*/*] {
     88        move ${f} ${app_dir}/../MacOS/libexec
     89    }
    8990    delete ${destroot}${prefix}
    9091    # make the application binary a hard link.
Note: See TracChangeset for help on using the changeset viewer.