Ticket #47783: gnutar.info.3.diff

File gnutar.info.3.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)

proposed patch

  • Portfile

     
    44
    55name                gnutar
    66version             1.27.1
     7revision            1
    78categories          archivers
    89maintainers         mww
    910license             GPL-3
     
    3839    xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
    3940        ChangeLog.1 INSTALL NEWS README THANKS TODO \
    4041        ${destroot}${prefix}/share/doc/${name}
    41     file rename ${destroot}${prefix}/share/info/tar.info ${destroot}${prefix}/share/info/gnutar.info
    42     file rename ${destroot}${prefix}/share/info/tar.info-1 ${destroot}${prefix}/share/info/gnutar.info-1
    43     file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2
     42    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
     43        move ${f} [string map {tar.info gnutar.info} ${f}]
     44    }
    4445
    4546    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
    4647    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar