[67697] trunk/dports/editors/emacs22/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun May 16 01:44:32 PDT 2010
Revision: 67697
http://trac.macports.org/changeset/67697
Author: ryandesign at macports.org
Date: 2010-05-16 01:44:27 -0700 (Sun, 16 May 2010)
Log Message:
-----------
emacs22: fix manpage names; see #24909
Modified Paths:
--------------
trunk/dports/editors/emacs22/Portfile
Modified: trunk/dports/editors/emacs22/Portfile
===================================================================
--- trunk/dports/editors/emacs22/Portfile 2010-05-16 08:26:14 UTC (rev 67696)
+++ trunk/dports/editors/emacs22/Portfile 2010-05-16 08:44:27 UTC (rev 67697)
@@ -5,6 +5,7 @@
name emacs22
version 22.3
+revision 1
categories editors
maintainers ambulatoryclam.net:dports openmaintainer
@@ -54,14 +55,16 @@
# add suffixes to man pages to match binary names
foreach f [glob -dir ${destroot}${prefix}/share/man/man1 *.1] {
- move $f "[file rootname $f].${suffix}.1"
+ move $f "[file rootname $f]${suffix}.1"
}
- # give the emacs binary a more sane name
+ # give the emacs binary (and its manpage) a more sane name
move ${destroot}${prefix}/bin/emacs${suffix} \
${destroot}${prefix}/bin/${name}
move ${destroot}${prefix}/bin/emacs-${version}${suffix} \
${destroot}${prefix}/bin/emacs-${version}
+ move ${destroot}${prefix}/share/man/man1/emacs${suffix}.1 \
+ ${destroot}${prefix}/share/man/man1/${name}.1
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100516/08692e92/attachment.html>
More information about the macports-changes
mailing list