Ticket #24909: patch-emacs22.diff

File patch-emacs22.diff, 995 bytes (added by drkp (Dan Ports), 15 years ago)
  • Portfile

    old new  
    55
    66name            emacs22
    77version         22.3
     8revision        1
    89
    910categories      editors
    1011maintainers     ambulatoryclam.net:dports openmaintainer
     
    5455
    5556    # add suffixes to man pages to match binary names
    5657    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"
    5859    }
    5960
    60     # give the emacs binary a more sane name
     61    # give the emacs binary (and its manpage) a more sane name
    6162    move ${destroot}${prefix}/bin/emacs${suffix} \
    6263         ${destroot}${prefix}/bin/${name}
    6364    move ${destroot}${prefix}/bin/emacs-${version}${suffix} \
    6465         ${destroot}${prefix}/bin/emacs-${version}
     66    move ${destroot}${prefix}/share/man/man1/emacs${suffix}.1 \
     67         ${destroot}${prefix}/share/man/man1/${name}.1
    6568}
    6669
    6770livecheck.type  regex