[98895] trunk/dports/aqua/emacs-mac-app/Portfile
hum at macports.org
hum at macports.org
Sat Oct 20 03:07:11 PDT 2012
Revision: 98895
http://trac.macports.org//changeset/98895
Author: hum at macports.org
Date: 2012-10-20 03:07:11 -0700 (Sat, 20 Oct 2012)
Log Message:
-----------
emacs-mac-app: fix post-destroot.
Modified Paths:
--------------
trunk/dports/aqua/emacs-mac-app/Portfile
Modified: trunk/dports/aqua/emacs-mac-app/Portfile
===================================================================
--- trunk/dports/aqua/emacs-mac-app/Portfile 2012-10-20 08:48:48 UTC (rev 98894)
+++ trunk/dports/aqua/emacs-mac-app/Portfile 2012-10-20 10:07:11 UTC (rev 98895)
@@ -76,7 +76,6 @@
# move files into the app bundle.
# https://github.com/railwaycat/emacs-mac-port/blob/master/build-emacs.app.sh
set app_dir ${destroot}${applications_dir}/Emacs.app/Contents/Resources
- set compver [exec uname -m]-apple-darwin[exec uname -r]
foreach d [glob ${destroot}${prefix}/share/emacs/${emacs_version}/*] {
move ${d} ${app_dir}
}
@@ -84,8 +83,10 @@
move ${destroot}${prefix}/share/man ${app_dir}
move ${destroot}${prefix}/var ${app_dir}
move ${destroot}${prefix}/bin ${app_dir}/../MacOS
- move ${destroot}${prefix}/libexec/emacs/${emacs_version}/${compver} \
- ${app_dir}/../MacOS/libexec
+ xinstall -d ${app_dir}/../MacOS/libexec
+ foreach f [glob ${destroot}${prefix}/libexec/emacs/${emacs_version}/*/*] {
+ move ${f} ${app_dir}/../MacOS/libexec
+ }
delete ${destroot}${prefix}
# make the application binary a hard link.
delete ${app_dir}/../MacOS/Emacs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121020/43f8f901/attachment.html>
More information about the macports-changes
mailing list