f1f75aad29
Changelog: 0.62 po4a tool: * Improve po_paths on misconfigurations, improve doc and error messages. Asciidoc: * Unwrap all paragraphs by default (Github's #242). Introduce "forcewrap" option to re-enable line wrapping on output. * Support definition list continuations with indent (Github's #273) DocBook: * Mark xreflabel attributes as translatable (GitHub's #267). Documentation: * Fix some typos, thanks mestaritonttu. Translations: * Updated: Croatian, thanks Milo Ivir. * Updated: Chinese (simplified), thanks taotieren. * Updated: Dutch, thanks Frans Spiesschaert. * Updated: French, thanks jmichault and Jean-Baptiste Holcroft. * Updated: German, thanks Helge Kreutzmann. * Updated: Hungarian, thanks Balázs Úr. * Updated: Italian, thanks Marco Ciampa. * Updated: Norwegian Bokmål, thanks Allan Nordhøy and Petter Reinholdtsen. * Updated: Portuguese, thanks Silvério Santos. * Updated: Portuguese (Brazil), thanks Rafael Fontenelle. * Updated: Russian, thanks Yuriy Balyuk and Artem. * Updated: Serbian (cyrillic), thanks Ivan Pesic. * Updated: Spanish, thanks Vladimir Támara Patiño and Emma Peel. * Updated: Ukrainian, thanks Yuri Chornoivan (українська). Status of the binary translation: 13 languages = 100%: de, es, fr, hr, hu, it, nb, nl, pt, pt_BR, sr_Cyrl, uk, zh_CN. 1 language >= 90%: ru (91%). 11 languages >= 50%: cs (61%), da (62%), eo (59%), et (66%), eu (60%), id (61%), ja (66%), pl (66%), sl (59%), sv (64%), vi (66%). 1 language >= 33%: ca (48%). 5 starting languages: af (7%), ar (14%), kn (7%), ko (19%), zh_HK (3%). Status of the documentation translation: 4 languages = 100%: de, fr, pt_BR, uk. 4 languages >= 95%: nl (99%), pt (99%), sr_Cyrl (99%), zh_CHS (99%). 1 language >= 80%: es (80%). 2 languages >= 70%: ja (73%), pl (73%). 2 languages >= 50%: it (64%), ru (61%). 1 language >= 33%: ca (47%). 4 starting languages: eo (2%), hr (0%), hu (0%), nb (1%). ======================================================================= 0.61 po4a tool: * Robustify --srcdir and --destdir: When building the schroot package, these paths happen to be soft links to the same directory, making po4a believe that the POT file is specified twice (to the same value). po4a is now ignoring these dups (GitHub's #258). Translations: * Updated: Chinese, thanks taotieren. * Updated: Czech, thanks to Michal Čihař. * Updated: Dutch, thanks Frans Spiesschaert. * Updated: French, thanks Jean-Baptiste and Martin Quinson. * Updated: German, thanks Helge Kreutzmann. * Updated: Portuguese, thanks Silvério Santos. * Updated: Portuguese (Brazil), thanks Rafael Fontenelle. * Updated: Serbian (cyrillic), thanks Ivan Pesic. * Updated: Ukrainian, thanks Yuri Chornoivan (українська). Status of the binary translation: 3 languages = 100%: fr, pt_BR, uk. 6 languages >= 95%: de (98%), hr (98%), it (96%), nl (98%), sr_Cyrl (98%), zh_CN (98%). 2 languages >= 80%: hu (89%), ru (88%). 3 languages >= 70%: es (77%), nb (71%), pt (79%). 11 languages >= 50%: cs (62%), da (62%), eo (60%), et (67%), eu (61%), id (62%), ja (67%), pl (67%), sl (60%), sv (65%), vi (67%). 1 language >= 33%: ca (49%). 1 language >= 20%: ko (20%). 4 starting languages: af (8%), ar (14%), kn (8%), zh_HK (3%). Status of the documentation translation: 3 languages = 100%: de, pt_BR, uk. 1 language >= 95%: nl (99%). 1 language >= 90%: pt (92%). 1 language >= 80%: fr (87%). 3 languages >= 70%: es (78%), ja (74%), pl (73%). 3 languages >= 50%: it (52%), ru (61%), sr_Cyrl (67%). 1 language >= 33%: ca (47%). 1 language >= 20%: zh_CHS (25%). 3 starting languages: hr (0%), hu (0%), nb (1%).
48 lines
1.7 KiB
Makefile
48 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.45 2021/01/12 12:19:24 ryoon Exp $
|
|
|
|
DISTNAME= po4a-0.62
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mquinson/}
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://po4a.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-Pod-Parser-[0-9]*:../../textproc/p5-Pod-Parser
|
|
DEPENDS+= p5-Text-WrapI18N-[0-9]*:../../textproc/p5-Text-WrapI18N
|
|
DEPENDS+= p5-PerlIO-utf8_strict-[0-9]*:../../devel/p5-PerlIO-utf8_strict
|
|
DEPENDS+= p5-Unicode-LineBreak-[0-9]*:../../textproc/p5-Unicode-LineBreak
|
|
DEPENDS+= p5-YAML-Tiny-[0-9]*:../../textproc/p5-YAML-Tiny
|
|
# kpsewhich
|
|
DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
|
|
# article.cls
|
|
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
|
|
|
|
USE_TOOLS+= pkg-config perl:run msgmerge:run msgfmt:run
|
|
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
PERL5_PACKLIST= auto/po4a/.packlist
|
|
|
|
REPLACE_PERL= 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"
|