pkgsrc/textproc/po4a/Makefile
adam 23f64d98bb po4a: update to 0.52
0.52:

Core:
 * po4a-translate complains if the input po file is outdated
 * teach po4a-updatepo about the --porefs options that was already documented.
 * rename --porefs values after msgmerge option's name: noline->file
   and none->never. Both variantes are accepted; the later is documented.

po4a:
 * New option --no-update to not touch the po files.

AsciiDoc:
 * Properly deal with item text missing its leading indent
 * Allow empty attribute lists, by bexelbie

Text:
 * Add an option to treat Key/Value pairs as verbatim

RubyDoc:
 * New module by Francesco Poli

Wml:
 * Make title translatable, by yangfl

Documentation:
 * Various fixups by Alexander Golubev.

Translations:
 * Setup WebLate to ease the life of translators.
 * Update Brazilian Portuguese, thanks to Luiz Fernando Ranghetti.
 * Update Czech, thanks to Michal Čihař.
 * Update Dutch, thanks to Frans Spiesschaert
 * Update German, thanks to Helge Kreutzmann
 * Update Italian, thanks to Marco Ciampa.
 * Update French, thanks to Alban Vidal and to Jean-Baptiste on Weblate.
 * New translation: Norwegian Bokmål, thanks to Petter Reinholdtsen.
 * Update Russian, thanks to Alexander Golubev and to Igor on Weblate.
 * Update Ukrainian, thanks to Yuri Chornoivan.
2017-09-17 10:55:42 +00:00

41 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2017/09/17 10:55:42 adam Exp $
DISTNAME= po4a-0.52
CATEGORIES= textproc
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4229/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://po4a.alioth.debian.org/
COMMENT= Tool for using gettext where it was not intended to be used
LICENSE= gnu-gpl-v2
DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext
DEPENDS+= p5-SGMLS-[0-9]*:../../textproc/p5-SGMLS
DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Text-WrapI18N-[0-9]*:../../textproc/p5-Text-WrapI18N
DEPENDS+= p5-CPAN-Meta>=2.141170:../../devel/p5-CPAN-Meta
DEPENDS+= p5-PerlIO-utf8_strict-[0-9]*:../../devel/p5-PerlIO-utf8_strict
USE_TOOLS+= pkg-config perl:run msgmerge:run msgfmt:run
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/po4a/.packlist
REPLACE_PERL= scripts/msguntypot po4a po4a-gettextize po4a-normalize
REPLACE_PERL+= po4a-translate po4a-updatepo
REPLACE_PERL+= lib/Locale/Po4a/*
MAKE_ENV+= COLUMNS=76
# work around not to set PATH to msgmerge, please somebody to fix correctly
SUBST_CLASSES+= path
SUBST_FILES.path= po4a
SUBST_MESSAGE.path= Fix msgmerge command path (not found)
SUBST_STAGE.path= pre-configure
SUBST_SED.path= -e 's|\"msgmerge\"|\"${PREFIX}/bin/msgmerge\"|;'
.include "../../devel/gettext-tools/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"