pkgsrc/devel/gtexinfo/Makefile

48 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.101 2018/09/17 13:37:26 maya Exp $
Update to 6.5 Changelog: 6.5 (12 September 2017) * info: . some bugs fixed: . a bug where a segfault could happen in the regex search, for example when the user entered a single \ as the search string . another bug which could make nodes inaccessible in long "split" info files . a bug where it was not possible to follow a cross-reference that was split across more than one line has been fixed . do not fall back to a man page if following a cross-reference in an info file failed . if looking for a file failed, do not convert the name of a file to lower-case and look for it again * texinfo.tex . some faulty definitions for Unicode characters have been changed or removed . fix indentation in table of contents for entries that are split across multiple lines * texi2dvi . a bug that broke the processing of LaTeX files that did not use BibTeX has been fixed * texi2any . output the encoding declaration of a HTML file earlier so it will always occur within first 1024 bytes of file . `INLINE_INSERTCOPYING' removed as a customization variable 6.4 (23 June 2017) * texi2any: . for HTML output, place section names before the manual in page titles, instead of after them, so it is easier to distinguish pages if titles are truncated . starting points for ordered lists beginning with 0 or a letter of the alphabet are output as attributes on the <ol> tag, as was case for Texinfo 4.13 and earlier . a bit faster . some discrepancies in paragraph formatting between Perl extension modules and interpreted Perl modules have been fixed . `MACRO_BODY_IGNORES_LEADING_SPACE' customization variable removed, and `indent_menu_descriptions' is no longer a possible value for `TREE_TRANSFORMATIONS' (as these features did not work as documented) * info: . the `up-line' and `down-line' commands now are like the other scrolling commands and are no longer confined to a single node (depending on the value of `scroll-behaviour') . supplying the --all option with --index-search displays a list of matching index entries . the style variables like `link-style' can now be set while info is running . display bug fixed where color could be turned off prematurely . several other bugs fixed . better portability in test suite . do not fall back to showing the dir node if a manual isn't found . Do not attempt any kind of conversion of CR LF line endings, except on MS-DOS/Windows, when it is done unconditionally. (This replaces a more complicated approach, where this conversion would take place if there was a problem finding a node in a file.) The main effect of this change is that Info files with CR LF line endings, which would have been produced on MS-DOS/Windows with old versions of makeinfo, are only supported on such operating systems. . a few of the key bindings under --vi-keys have been changed for consistency or to match the documentation * texinfo.tex . a DVI file with a single empty page can be output again, which restores the behavior from Texinfo 6.0 and earlier * Distribution . autoconf 2.69, automake 1.15, gettext 0.19.8
2017-09-28 14:53:59 +02:00
DISTNAME= texinfo-6.5
PKGNAME= g${DISTNAME}
PKGREVISION= 3
CATEGORIES= devel sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
COMMENT= GNU info documentation utilities
LICENSE= gnu-gpl-v3
Update to 5.1. This adds a perl dependency. I hope this won't break bootstrapping. *** NEWS FOR ALL AUTHORS OF TEXINFO MANUALS *** As of version 4.2, Texinfo has a new command @copying to define the copyright and copying permissions for a manual. If you haven't already, please switch to using it in your next release, because the historical method of doing copyright permissions using @ifinfo failed to output copyright information in the HTML (or XML) formats. The manual has detailed explanations and examples. For convenience, here's a url to one of the relevant sections: http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Document-Permissions.html ------------------------------------------------------------------------------- 5.1 (12 March 2013) * texi2any: . irregular sectioning trees (see 5.0 news item) produce a warning rather than an error. . @set in the middle of the line no longer produces a warning. * info: . lzip (.lz) compression supported. * install-info: . lzip (.lz) compression supported. 5.0 (16 February 2013) * Language: . Texinfo commands are supported in node names. . #line directives are recognized. . @-commands are now recognized in raw format blocks. Therefore, for example, lone @, { and } characters in @tex, @html and similar environments must be converted to the normal @@, @{, and @} commands. . new commands @inlinefmt and @inlineraw for brace-delimited conditionals. . new conditionals @ifcommanddefined and @ifcommandnotdefined to test if a Texinfo command is available. . new command @part for a group of chapters. . new environments @raggedright, @smallquotation, @indentedblock, and @smallindentedblock. . new commands @codequoteundirected and @codequotebacktick, for a better interface than the @set variables; now respected by @kbd. . new command @xrefautomaticsectiontitle to allow using section titles in cross references by default, instead of node names. . new commands for Texinfo special characters: @atchar{} @lbracechar{} @rbracechar{} @backslashchar{} @hashchar{}. . new commands @deftypefnnewline to print return types on their own lines. . new command @headitemfont for the sake of template rows. . new command @urefbreakstyle to control breaking of @url/@uref in TeX. . new diacritic command @ogonek. . new commands for Icelandic letters eth and thorn: @DH{} @dh{} @TH{} @th{}. . new command @errormsg to report an error. . five-argument xrefs can refer to a whole manual, by omitting the section name and either omitting the node name or using "Top". . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX). * texi2any is the new generic converter for Texinfo that can produce all supported output formats, both those from texi2dvi (PDF/DVI) and from makeinfo (Info/HTML/etc.). texi2any and makeinfo are now different names for the same program; there are no differences in behavior based on the program name. The new implementation is in Perl, requiring Perl 5.7.3 (released in March 2002) and its standard Encode module. The Perl texi2any/makeinfo both replaces and is intended to be (for all practical purposes) upward-compatible with the C makeinfo. It has many new features not in the C makeinfo. For example, cross-manual references are now fully supported, and allows for extensive customization of the HTML output. See the `Generic Translator texi2any' chapter in the manual (among other places) for more about this reimplementation. The new program is, unfortunately, noticeably slower at present than the C program was. We hope all the many improvements make the new version worthwhile for users nevertheless. * Intentional incompatibilities with the previous implementation of makeinfo, through version 4.13: . The old implementation accepted a lone block of text inside @itemize, @enumerate, etc., without any @item. This is semantically inconsistent, leading to problems with some backends, and thus now produces a warning. . The old implementation accepted ``irregular'' sectioning trees. Now, when @node pointers are implicitly determined, the consistency of @menu and the sectioning tree is checked. (If node pointers are explicitly specified in the document, the tree can still be irregular.) . The old implementation always added blank lines between function definitions if they weren't already there. Now blank lines are not added. (Both old and new implementations preserve blank lines that are present.) . The old implementation did not consider ends of lines from expansion of an @macro definition to end an @-command line-delimited argument (@chapter, @center, etc.). This is no longer the case. (A detailed example is in the manual, node Macro Details.) * pod2texi is a new (Perl) program that uses the capabilities of texi2any to translate Perl pod documentation to Texinfo. * texinfo.tex: . urls (given to @uref and @url) are broken by default at special characters; behavior controllable with @urefbreakstyle. . support some per-language hyphenation, when the underlying TeX engine does (for instance, etex/pdfetex from TeX Live 2008 or later). Words with accented letters are still not handled properly. . @title, text will be broken if needed, and @* can be used to override. . new Icelandic translation: txi-is.tex. . new Hungarian translation: txi-hu.tex. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texinfo.tex. * texi2dvi: . new option --max-iterations. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texi2dvi. * info: . INFOPATH is determined from PATH by default, or if an element "PATH" is specified. . New command Info-virtual-index, bound to I by default, following Emacs. . Info keywords not found by searches. . A lower limit on the length of search patterns, default 1, specified by the variable min-search-length. . Use ASCII versions of images, if supplied by the document. . xz compression supported. * install-info: . xz compression supported. * Documentation: . new appendix with a technical description of the Info file format. . information on the customizations of the HTML output now possible. * Distribution: . new file htmlxref.cnf is installed to support cross-manual references; official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/htmlxref.cnf. . language support for no removed/renamed to nb, per Norwegian translators. . new translations: id it, and document translations: eo pl. . texinfo.cat file removed since it is (to our knowledge) unused. . documentation license now GFDLv1.3 or later. . autoconf 2.69, automake 1.13.1, gettext 0.18.2.
2013-07-04 18:19:16 +02:00
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
# otherwise, package installs copies of them itself
DEPENDS+= p5-Locale-libintl-[0-9]*:../../misc/p5-Locale-libintl
DEPENDS+= p5-Text-Unidecode-[0-9]*:../../textproc/p5-Text-Unidecode
DEPENDS+= p5-Unicode-EastAsianWidth-[0-9]*:../../converters/p5-Unicode-EastAsianWidth
2004-01-19 16:49:24 +01:00
GNU_CONFIGURE= yes
Update to 5.1. This adds a perl dependency. I hope this won't break bootstrapping. *** NEWS FOR ALL AUTHORS OF TEXINFO MANUALS *** As of version 4.2, Texinfo has a new command @copying to define the copyright and copying permissions for a manual. If you haven't already, please switch to using it in your next release, because the historical method of doing copyright permissions using @ifinfo failed to output copyright information in the HTML (or XML) formats. The manual has detailed explanations and examples. For convenience, here's a url to one of the relevant sections: http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Document-Permissions.html ------------------------------------------------------------------------------- 5.1 (12 March 2013) * texi2any: . irregular sectioning trees (see 5.0 news item) produce a warning rather than an error. . @set in the middle of the line no longer produces a warning. * info: . lzip (.lz) compression supported. * install-info: . lzip (.lz) compression supported. 5.0 (16 February 2013) * Language: . Texinfo commands are supported in node names. . #line directives are recognized. . @-commands are now recognized in raw format blocks. Therefore, for example, lone @, { and } characters in @tex, @html and similar environments must be converted to the normal @@, @{, and @} commands. . new commands @inlinefmt and @inlineraw for brace-delimited conditionals. . new conditionals @ifcommanddefined and @ifcommandnotdefined to test if a Texinfo command is available. . new command @part for a group of chapters. . new environments @raggedright, @smallquotation, @indentedblock, and @smallindentedblock. . new commands @codequoteundirected and @codequotebacktick, for a better interface than the @set variables; now respected by @kbd. . new command @xrefautomaticsectiontitle to allow using section titles in cross references by default, instead of node names. . new commands for Texinfo special characters: @atchar{} @lbracechar{} @rbracechar{} @backslashchar{} @hashchar{}. . new commands @deftypefnnewline to print return types on their own lines. . new command @headitemfont for the sake of template rows. . new command @urefbreakstyle to control breaking of @url/@uref in TeX. . new diacritic command @ogonek. . new commands for Icelandic letters eth and thorn: @DH{} @dh{} @TH{} @th{}. . new command @errormsg to report an error. . five-argument xrefs can refer to a whole manual, by omitting the section name and either omitting the node name or using "Top". . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX). * texi2any is the new generic converter for Texinfo that can produce all supported output formats, both those from texi2dvi (PDF/DVI) and from makeinfo (Info/HTML/etc.). texi2any and makeinfo are now different names for the same program; there are no differences in behavior based on the program name. The new implementation is in Perl, requiring Perl 5.7.3 (released in March 2002) and its standard Encode module. The Perl texi2any/makeinfo both replaces and is intended to be (for all practical purposes) upward-compatible with the C makeinfo. It has many new features not in the C makeinfo. For example, cross-manual references are now fully supported, and allows for extensive customization of the HTML output. See the `Generic Translator texi2any' chapter in the manual (among other places) for more about this reimplementation. The new program is, unfortunately, noticeably slower at present than the C program was. We hope all the many improvements make the new version worthwhile for users nevertheless. * Intentional incompatibilities with the previous implementation of makeinfo, through version 4.13: . The old implementation accepted a lone block of text inside @itemize, @enumerate, etc., without any @item. This is semantically inconsistent, leading to problems with some backends, and thus now produces a warning. . The old implementation accepted ``irregular'' sectioning trees. Now, when @node pointers are implicitly determined, the consistency of @menu and the sectioning tree is checked. (If node pointers are explicitly specified in the document, the tree can still be irregular.) . The old implementation always added blank lines between function definitions if they weren't already there. Now blank lines are not added. (Both old and new implementations preserve blank lines that are present.) . The old implementation did not consider ends of lines from expansion of an @macro definition to end an @-command line-delimited argument (@chapter, @center, etc.). This is no longer the case. (A detailed example is in the manual, node Macro Details.) * pod2texi is a new (Perl) program that uses the capabilities of texi2any to translate Perl pod documentation to Texinfo. * texinfo.tex: . urls (given to @uref and @url) are broken by default at special characters; behavior controllable with @urefbreakstyle. . support some per-language hyphenation, when the underlying TeX engine does (for instance, etex/pdfetex from TeX Live 2008 or later). Words with accented letters are still not handled properly. . @title, text will be broken if needed, and @* can be used to override. . new Icelandic translation: txi-is.tex. . new Hungarian translation: txi-hu.tex. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texinfo.tex. * texi2dvi: . new option --max-iterations. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texi2dvi. * info: . INFOPATH is determined from PATH by default, or if an element "PATH" is specified. . New command Info-virtual-index, bound to I by default, following Emacs. . Info keywords not found by searches. . A lower limit on the length of search patterns, default 1, specified by the variable min-search-length. . Use ASCII versions of images, if supplied by the document. . xz compression supported. * install-info: . xz compression supported. * Documentation: . new appendix with a technical description of the Info file format. . information on the customizations of the HTML output now possible. * Distribution: . new file htmlxref.cnf is installed to support cross-manual references; official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/htmlxref.cnf. . language support for no removed/renamed to nb, per Norwegian translators. . new translations: id it, and document translations: eo pl. . texinfo.cat file removed since it is (to our knowledge) unused. . documentation license now GFDLv1.3 or later. . autoconf 2.69, automake 1.13.1, gettext 0.18.2.
2013-07-04 18:19:16 +02:00
CONFIGURE_ARGS+= --with-external-libintl-perl
CONFIGURE_ARGS+= --with-external-Text-Unidecode
CONFIGURE_ARGS+= --with-external-Unicode-EastAsianWidth
USE_LIBTOOL= yes
Update to 5.1. This adds a perl dependency. I hope this won't break bootstrapping. *** NEWS FOR ALL AUTHORS OF TEXINFO MANUALS *** As of version 4.2, Texinfo has a new command @copying to define the copyright and copying permissions for a manual. If you haven't already, please switch to using it in your next release, because the historical method of doing copyright permissions using @ifinfo failed to output copyright information in the HTML (or XML) formats. The manual has detailed explanations and examples. For convenience, here's a url to one of the relevant sections: http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Document-Permissions.html ------------------------------------------------------------------------------- 5.1 (12 March 2013) * texi2any: . irregular sectioning trees (see 5.0 news item) produce a warning rather than an error. . @set in the middle of the line no longer produces a warning. * info: . lzip (.lz) compression supported. * install-info: . lzip (.lz) compression supported. 5.0 (16 February 2013) * Language: . Texinfo commands are supported in node names. . #line directives are recognized. . @-commands are now recognized in raw format blocks. Therefore, for example, lone @, { and } characters in @tex, @html and similar environments must be converted to the normal @@, @{, and @} commands. . new commands @inlinefmt and @inlineraw for brace-delimited conditionals. . new conditionals @ifcommanddefined and @ifcommandnotdefined to test if a Texinfo command is available. . new command @part for a group of chapters. . new environments @raggedright, @smallquotation, @indentedblock, and @smallindentedblock. . new commands @codequoteundirected and @codequotebacktick, for a better interface than the @set variables; now respected by @kbd. . new command @xrefautomaticsectiontitle to allow using section titles in cross references by default, instead of node names. . new commands for Texinfo special characters: @atchar{} @lbracechar{} @rbracechar{} @backslashchar{} @hashchar{}. . new commands @deftypefnnewline to print return types on their own lines. . new command @headitemfont for the sake of template rows. . new command @urefbreakstyle to control breaking of @url/@uref in TeX. . new diacritic command @ogonek. . new commands for Icelandic letters eth and thorn: @DH{} @dh{} @TH{} @th{}. . new command @errormsg to report an error. . five-argument xrefs can refer to a whole manual, by omitting the section name and either omitting the node name or using "Top". . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX). * texi2any is the new generic converter for Texinfo that can produce all supported output formats, both those from texi2dvi (PDF/DVI) and from makeinfo (Info/HTML/etc.). texi2any and makeinfo are now different names for the same program; there are no differences in behavior based on the program name. The new implementation is in Perl, requiring Perl 5.7.3 (released in March 2002) and its standard Encode module. The Perl texi2any/makeinfo both replaces and is intended to be (for all practical purposes) upward-compatible with the C makeinfo. It has many new features not in the C makeinfo. For example, cross-manual references are now fully supported, and allows for extensive customization of the HTML output. See the `Generic Translator texi2any' chapter in the manual (among other places) for more about this reimplementation. The new program is, unfortunately, noticeably slower at present than the C program was. We hope all the many improvements make the new version worthwhile for users nevertheless. * Intentional incompatibilities with the previous implementation of makeinfo, through version 4.13: . The old implementation accepted a lone block of text inside @itemize, @enumerate, etc., without any @item. This is semantically inconsistent, leading to problems with some backends, and thus now produces a warning. . The old implementation accepted ``irregular'' sectioning trees. Now, when @node pointers are implicitly determined, the consistency of @menu and the sectioning tree is checked. (If node pointers are explicitly specified in the document, the tree can still be irregular.) . The old implementation always added blank lines between function definitions if they weren't already there. Now blank lines are not added. (Both old and new implementations preserve blank lines that are present.) . The old implementation did not consider ends of lines from expansion of an @macro definition to end an @-command line-delimited argument (@chapter, @center, etc.). This is no longer the case. (A detailed example is in the manual, node Macro Details.) * pod2texi is a new (Perl) program that uses the capabilities of texi2any to translate Perl pod documentation to Texinfo. * texinfo.tex: . urls (given to @uref and @url) are broken by default at special characters; behavior controllable with @urefbreakstyle. . support some per-language hyphenation, when the underlying TeX engine does (for instance, etex/pdfetex from TeX Live 2008 or later). Words with accented letters are still not handled properly. . @title, text will be broken if needed, and @* can be used to override. . new Icelandic translation: txi-is.tex. . new Hungarian translation: txi-hu.tex. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texinfo.tex. * texi2dvi: . new option --max-iterations. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texi2dvi. * info: . INFOPATH is determined from PATH by default, or if an element "PATH" is specified. . New command Info-virtual-index, bound to I by default, following Emacs. . Info keywords not found by searches. . A lower limit on the length of search patterns, default 1, specified by the variable min-search-length. . Use ASCII versions of images, if supplied by the document. . xz compression supported. * install-info: . xz compression supported. * Documentation: . new appendix with a technical description of the Info file format. . information on the customizations of the HTML output now possible. * Distribution: . new file htmlxref.cnf is installed to support cross-manual references; official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/htmlxref.cnf. . language support for no removed/renamed to nb, per Norwegian translators. . new translations: id it, and document translations: eo pl. . texinfo.cat file removed since it is (to our knowledge) unused. . documentation license now GFDLv1.3 or later. . autoconf 2.69, automake 1.13.1, gettext 0.18.2.
2013-07-04 18:19:16 +02:00
Update gtexinfo to 4.11. Based on patch provided by Magnus Henoch in PR 37481. I made some modification: * keep and update patch-ac (need to pick up pkgsrc info files). * fixes PLIST, missing some entries. * portability fix in texi2dvi (patch-am). * DESTDIR support. Changes: 4.11 (9 September 2007) * Language: . @documentlanguage now supports an optional country code specification after the language code, a la gettext. . new command @allowcodebreaks controls breaks at _ and - within @code. . new command @frenchspacing controls spacing after sentences. . new command @fonttextsize allows changing body text font size to 10pt. . new command @textdegree{} produces the normal degrees symbol. . new command @thischapternum can be used in TeX headers/footers. . new commands for quotes: @quotedblleft @quotedblright @quoteleft @quoteright @quotedblbase @quotesinglbase @guillemetleft @guillemetright @guilsinglleft @guilsinglright. . new option @set txicodequoteundirected produces an undirected quote in code and example output, instead of the regular right quote. . new option @set txicodequotebacktick produces a grave accent in code and example output, instead of the regular left quote. * makeinfo: . The @documentlanguage locale is used to translate various document strings. . --enable-encoding is now the default, meaning Info and plain text output use 8-bit characters given a supported @documentencoding. . new option --css-ref=URL for creating a stylesheet <link> in HTML output. . new option --transliterate-file-names to use a reduction-to-ASCII algorithm for split HTML file names, useful for non-Latin-based languages. . @enddots{} outputs three dots instead of four, for consistency with texinfo.tex. . the Local Variables coding: setting written by --enable-encoding now comes at the very end, after the tags table, so that Emacs can find it in more cases. . @allow-recursion (never documented) is deprecated and produces a warning. . @quote-args (never documented) is now the default behavior. . centering and such take account of character widths. . the --reference-limit option is now a no-op. . improvements to XML and Docbook output and the DTD. * texinfo.tex: . @thissection can now be used in custom headings, and @thischapter works reliably even without @set chapternewpage. Custom headings have additional flexibility as well. * texi2dvi: . pdftexi2dvi is a new wrapper to `texi2dvi --pdf', equal to texi2pdf, for the sake of AUC-TeX which prepends `pdf' to the compilation command when requested to produce PDF. * info: . look for info files in the current directory first, by default. . when calling man, use -a if no explicit section is found. . avoid showing the top(1) man page for nonexistent info files. * install-info: . new options --section-regex, --remove-exactly, --debug, --test. * Distribution: . autoconf 2.60, automake 1.10, gettext 0.16.1. . gettext support now [external]. . new translations: hu (Hungarian), rw (Kinyarwandan), vi (Vietnamese). . most common sources imported from gnulib. 4.10 (omitted) 4.9 (29 June 2007) * GPLv3. * texi2dvi: . new mode --build=tidy which supports compilation in a separate directory, where intermediate files are preserved. . new option --build-dir, to specify where the tidy build will take place, either locally or globally. This allows avoiding the clutter while preserving auxiliary files. . new support for AUC-TeX: texi2dvi (weakly) supports arguments a la TeX such as `\nonstopmode\input{file.tex}'. . new options --ps and --dvipdf, useful especially for pstricks documents. . new option --src-specials, passed to TeX. * texinfo.tex: . Latin1, Latin2, Latin9, and UTF-8 are supported -- only as well as the Computer Modern fonts can manage, which means primarily English and western European languages, to a limited extent. . png and jpg images supported in pdf output. . new Russian, Serbian, and Ukrainian translations for texinfo.tex: txi-ru.tex, txi-sr.tex, txi-uk.tex. . section names with \ characters work properly in pdf outlines. . have .toc files use @ as the escape character, instead of \.
2008-01-30 09:19:24 +01:00
INFO_FILES= yes
TEST_TARGET= check
PLIST_SRC= ${PKGDIR}/PLIST
Update to 5.1. This adds a perl dependency. I hope this won't break bootstrapping. *** NEWS FOR ALL AUTHORS OF TEXINFO MANUALS *** As of version 4.2, Texinfo has a new command @copying to define the copyright and copying permissions for a manual. If you haven't already, please switch to using it in your next release, because the historical method of doing copyright permissions using @ifinfo failed to output copyright information in the HTML (or XML) formats. The manual has detailed explanations and examples. For convenience, here's a url to one of the relevant sections: http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Document-Permissions.html ------------------------------------------------------------------------------- 5.1 (12 March 2013) * texi2any: . irregular sectioning trees (see 5.0 news item) produce a warning rather than an error. . @set in the middle of the line no longer produces a warning. * info: . lzip (.lz) compression supported. * install-info: . lzip (.lz) compression supported. 5.0 (16 February 2013) * Language: . Texinfo commands are supported in node names. . #line directives are recognized. . @-commands are now recognized in raw format blocks. Therefore, for example, lone @, { and } characters in @tex, @html and similar environments must be converted to the normal @@, @{, and @} commands. . new commands @inlinefmt and @inlineraw for brace-delimited conditionals. . new conditionals @ifcommanddefined and @ifcommandnotdefined to test if a Texinfo command is available. . new command @part for a group of chapters. . new environments @raggedright, @smallquotation, @indentedblock, and @smallindentedblock. . new commands @codequoteundirected and @codequotebacktick, for a better interface than the @set variables; now respected by @kbd. . new command @xrefautomaticsectiontitle to allow using section titles in cross references by default, instead of node names. . new commands for Texinfo special characters: @atchar{} @lbracechar{} @rbracechar{} @backslashchar{} @hashchar{}. . new commands @deftypefnnewline to print return types on their own lines. . new command @headitemfont for the sake of template rows. . new command @urefbreakstyle to control breaking of @url/@uref in TeX. . new diacritic command @ogonek. . new commands for Icelandic letters eth and thorn: @DH{} @dh{} @TH{} @th{}. . new command @errormsg to report an error. . five-argument xrefs can refer to a whole manual, by omitting the section name and either omitting the node name or using "Top". . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX). * texi2any is the new generic converter for Texinfo that can produce all supported output formats, both those from texi2dvi (PDF/DVI) and from makeinfo (Info/HTML/etc.). texi2any and makeinfo are now different names for the same program; there are no differences in behavior based on the program name. The new implementation is in Perl, requiring Perl 5.7.3 (released in March 2002) and its standard Encode module. The Perl texi2any/makeinfo both replaces and is intended to be (for all practical purposes) upward-compatible with the C makeinfo. It has many new features not in the C makeinfo. For example, cross-manual references are now fully supported, and allows for extensive customization of the HTML output. See the `Generic Translator texi2any' chapter in the manual (among other places) for more about this reimplementation. The new program is, unfortunately, noticeably slower at present than the C program was. We hope all the many improvements make the new version worthwhile for users nevertheless. * Intentional incompatibilities with the previous implementation of makeinfo, through version 4.13: . The old implementation accepted a lone block of text inside @itemize, @enumerate, etc., without any @item. This is semantically inconsistent, leading to problems with some backends, and thus now produces a warning. . The old implementation accepted ``irregular'' sectioning trees. Now, when @node pointers are implicitly determined, the consistency of @menu and the sectioning tree is checked. (If node pointers are explicitly specified in the document, the tree can still be irregular.) . The old implementation always added blank lines between function definitions if they weren't already there. Now blank lines are not added. (Both old and new implementations preserve blank lines that are present.) . The old implementation did not consider ends of lines from expansion of an @macro definition to end an @-command line-delimited argument (@chapter, @center, etc.). This is no longer the case. (A detailed example is in the manual, node Macro Details.) * pod2texi is a new (Perl) program that uses the capabilities of texi2any to translate Perl pod documentation to Texinfo. * texinfo.tex: . urls (given to @uref and @url) are broken by default at special characters; behavior controllable with @urefbreakstyle. . support some per-language hyphenation, when the underlying TeX engine does (for instance, etex/pdfetex from TeX Live 2008 or later). Words with accented letters are still not handled properly. . @title, text will be broken if needed, and @* can be used to override. . new Icelandic translation: txi-is.tex. . new Hungarian translation: txi-hu.tex. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texinfo.tex. * texi2dvi: . new option --max-iterations. . official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/texi2dvi. * info: . INFOPATH is determined from PATH by default, or if an element "PATH" is specified. . New command Info-virtual-index, bound to I by default, following Emacs. . Info keywords not found by searches. . A lower limit on the length of search patterns, default 1, specified by the variable min-search-length. . Use ASCII versions of images, if supplied by the document. . xz compression supported. * install-info: . xz compression supported. * Documentation: . new appendix with a technical description of the Info file format. . information on the customizations of the HTML output now possible. * Distribution: . new file htmlxref.cnf is installed to support cross-manual references; official updates between full package releases available at http://ftpmirror.gnu.org/texinfo/htmlxref.cnf. . language support for no removed/renamed to nb, per Norwegian translators. . new translations: id it, and document translations: eo pl. . texinfo.cat file removed since it is (to our knowledge) unused. . documentation license now GFDLv1.3 or later. . autoconf 2.69, automake 1.13.1, gettext 0.18.2.
2013-07-04 18:19:16 +02:00
USE_TOOLS+= perl:run
# Replace deeply nested config.sub files (in vendored perl libraries)
OVERRIDE_DIRDEPTH= 4
PKGSRC_INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
MAKE_ENV+= PKGSRC_INFOPATH=${PKGSRC_INFOPATH:Q}
REPLACE_SH+= util/texi2dvi
.include "../../mk/bsd.prefs.mk"
2011-11-27 00:56:45 +01:00
.include "options.mk"
.include "../../lang/perl5/buildlink3.mk" # for EXTERN.h in XSParagraph
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# This need to be defined here to override the setting in texinfo.mk
INSTALL_INFO= ${PREFIX}/bin/install-info