# $Id$ PortSystem 1.0 name texinfo version 4.13 categories textproc platforms darwin maintainers vinc17 description Texinfo is the official documentation format of the GNU project long_description Texinfo is the official documentation format of the \ GNU project. It uses a single source file to produce output \ in a number of formats, both online and printed (dvi, info, \ html, xml, etc.). This means that instead of writing \ different documents for online information and another for \ a printed manual, you need write only one document. homepage http://www.gnu.org/software/texinfo/ master_sites gnu use_lzma yes # The following message is useful because MacPorts doesn't test whether # the extract target fails, and unless the -v option has been used, the # error message "sh: line 1: unlzma: command not found" is filtered out # and the user doesn't know the cause of the problem. pre-extract { ui_msg "If you get an error with configure, please install/activate lzmautils." } depends_build bin:unlzma:lzmautils checksums md5 20b37e49464bd72df4c6cfba33340f87 \ sha1 676ec9aa25a97c05dff66fba5225f9e101160063 \ rmd160 31d68ab41fead86d473ecc1de183fd1629e01560 depends_lib port:gettext \ port:libiconv \ port:ncurses pre-destroot { xinstall -d "${destroot}${prefix}/share/doc/${name}" xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \ doc/refcard/txirefcard.pdf "${destroot}${prefix}/share/doc/${name}" } post-destroot { file delete -force ${destroot}${prefix}/lib/charset.alias } # We need to support names like 'texinfo-4.8a.tar.bz2'. livecheck.check regex livecheck.url http://ftp.gnu.org/gnu/texinfo/?C=M\;O=D livecheck.regex ${name}-(\[0-9.a-s\]+)\\.tar