pkgsrc/devel/gtexinfo/Makefile
wiz afed7fa3f3 gtexinfo: update to 6.8.
6.8 (3 July 2021)
* Language
  . new command @displaymath for formatting of mathematical notation
  . @example takes an argument to specify the language
  . mark these commands as deprecated, not to be used:
    @centerchap, @definfoenclose, @refill, @inforef.
  . new paper size @bsixpaper

* texi2any
  . should be faster as Perl XS parser is enabled by default
  . SHOW_MENU customization variable replaced by FORMAT_MENU.
    FORMAT_MENU set to 'menu' is the same as SHOW_MENU set to 1, and
    FORMAT_MENU set to 'nomenu' is the same as SHOW_MENU set to 0.
  . only check menu structure if CHECK_NORMAL_MENU_STRUCTURE variable is set
  . changes to HTML output:
      . MathJax support for display of math.  new variables HTML_MATH,
        MATHJAX_SCRIPT and MATHJAX_SOURCE.
      . new variables JS_WEBLABELS and JS_WEBLABELS_FILE to support
        JavaScript License Web Labels
      . by default, use sectional tables of contents instead of menus
      . use section names in links by default (configure with
        xrefautomaticsectiontitle customization variable)
      . CONTENTS_OUTPUT_LOCATION sets location of table of contents
      . document sections wrapped in <div> elements
      . new variable USE_NODE_DIRECTIONS to use node or section structure
        for node directions
      . copiable anchor links for definitions with COPIABLE_ANCHORS variable
      . experimental JavaScript browsing interface enabled with INFO_JS_DIR
      . don't add an extra period before file extension given as an argument
        to @image if image file is not found

* info
  . support compressed dir files

* texi2dvi
  . stop on first error in input file

* texinfo.tex
  . put logical page numbers into PDF's ('page labels')
  . put chapter numbers in the PDF outline
  . new Finnish translation

* Distribution
  . autoconf 2.71, automake 1.16.3, gettext 0.21
2021-07-15 10:50:32 +00:00

51 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.111 2021/07/15 10:50:32 wiz Exp $
DISTNAME= texinfo-6.8
PKGNAME= g${DISTNAME}
CATEGORIES= devel sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/texinfo/texinfo.html
COMMENT= GNU info documentation utilities
LICENSE= gnu-gpl-v3
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
GNU_CONFIGURE= yes
GNU_CONFIGURE_STRICT= no # otherwise MiscXS.pm won't be installed
CONFIGURE_ARGS+= --with-external-libintl-perl
CONFIGURE_ARGS+= --with-external-Text-Unidecode
CONFIGURE_ARGS+= --with-external-Unicode-EastAsianWidth
CONFIGURE_ARGS+= PERL_EXT_CFLAGS=${CFLAGS:Q}
CONFIGURE_ARGS+= PERL_EXT_LDFLAGS=${LDFLAGS:Q}
USE_LIBTOOL= yes
INFO_FILES= yes
TEST_TARGET= check
PLIST_SRC= ${PKGDIR}/PLIST
USE_TOOLS+= perl:run
# Replace deeply nested config.sub files (in vendored perl libraries)
OVERRIDE_DIRDEPTH= 4
PKGSRC_INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${PREFIX}/${PKGINFODIR}
MAKE_ENV+= PKGSRC_INFOPATH=${PKGSRC_INFOPATH:Q}
REPLACE_SH+= util/texi2dvi
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.include "../../devel/gettext-lib/buildlink3.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