Ticket #24909: patch-emacs22.diff
File patch-emacs22.diff, 995 bytes (added by drkp (Dan Ports), 15 years ago) |
---|
-
Portfile
old new 5 5 6 6 name emacs22 7 7 version 22.3 8 revision 1 8 9 9 10 categories editors 10 11 maintainers ambulatoryclam.net:dports openmaintainer … … 54 55 55 56 # add suffixes to man pages to match binary names 56 57 foreach f [glob -dir ${destroot}${prefix}/share/man/man1 *.1] { 57 move $f "[file rootname $f] .${suffix}.1"58 move $f "[file rootname $f]${suffix}.1" 58 59 } 59 60 60 # give the emacs binary a more sane name61 # give the emacs binary (and its manpage) a more sane name 61 62 move ${destroot}${prefix}/bin/emacs${suffix} \ 62 63 ${destroot}${prefix}/bin/${name} 63 64 move ${destroot}${prefix}/bin/emacs-${version}${suffix} \ 64 65 ${destroot}${prefix}/bin/emacs-${version} 66 move ${destroot}${prefix}/share/man/man1/emacs${suffix}.1 \ 67 ${destroot}${prefix}/share/man/man1/${name}.1 65 68 } 66 69 67 70 livecheck.type regex