Ticket #19932: texinfo-4.13a.diff

File texinfo-4.13a.diff, 1.9 KB (added by nox@…, 15 years ago)
  • Portfile

     
    33PortSystem 1.0
    44
    55name            texinfo
    6 version         4.13
     6version         4.13a
    77categories      textproc
    88platforms       darwin
    99maintainers     vincent-opdarw@vinc17.org
     
    1616                a printed manual, you need write only one document.
    1717homepage        http://www.gnu.org/software/texinfo/
    1818master_sites    gnu
    19 use_lzma        yes
    2019
    21 # The following message is useful because MacPorts doesn't test whether
    22 # the extract target fails, and unless the -v option has been used, the
    23 # error message "sh: line 1: unlzma: command not found" is filtered out
    24 # and the user doesn't know the cause of the problem.
    25 pre-extract {
    26     ui_msg "If you get an error with configure, please install/activate lzmautils."
    27 }
     20checksums       md5 71ba711519209b5fb583fed2b3d86fcb \
     21                sha1 a1533cf8e03ea4fa6c443b73f4c85e4da04dead0 \
     22                rmd160 2473fc7ef3f82f47a990ee48c1d262b1f420eabd
    2823
    29 depends_build   bin:unlzma:lzmautils
    30 
    31 checksums       md5 20b37e49464bd72df4c6cfba33340f87 \
    32                 sha1 676ec9aa25a97c05dff66fba5225f9e101160063 \
    33                 rmd160 31d68ab41fead86d473ecc1de183fd1629e01560
    34 
    3524depends_lib     port:gettext \
    3625                port:libiconv \
    3726                port:ncurses
    3827
     28worksrcdir      [strsed ${distname} {s/[a-z]$//}]
     29
    3930pre-destroot {
    40     xinstall -d "${destroot}${prefix}/share/doc/${name}"
    41     xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \
    42       doc/refcard/txirefcard.pdf "${destroot}${prefix}/share/doc/${name}"
     31    set docdir ${prefix}/share/doc/${name}-${version}
     32    xinstall -d ${destroot}${docdir}
     33    xinstall -m 644 -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \
     34      doc/refcard/txirefcard.pdf ${destroot}${docdir}
    4335}
    4436
    4537post-destroot {