pkgsrc/devel/gettext-lib
jlam 0f4967eb59 Overhaul the way packages can ask for "msgfmt". If a package needs
msgfmt, then it should set the following in the package Makefile:

	USE_TOOLS+=	msgfmt

To deal with message files that use the "msgid_plural" statement,
which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we
determine if the built-in "msgfmt" is sufficiently new enough to
understand "msgid_plural".  If it isn't, then we use the msgfmt.sh
script to transform the msgid_plural statements to an equivalent
construct that's understood by older msgfmt tools.

The msgfmt.sh script is a straightforward translation of the original
perl script msgfmt.pl script by Julio M. Merino Vidal into shell and
awk, which are more lightweight dependencies than perl.

We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they
are made obsolete by the new code in mk/tools/msgfmt.mk.

BUILD_USE_MSGFMT is still supported but will be removed in a separate
commit.
2006-04-13 16:35:57 +00:00
..
patches Update gettext to 0.14.5. Many bugfixes and improvements, 2006-02-05 22:45:53 +00:00
buildlink3.mk Over 1200 files touched but no revisions bumped :) 2006-04-06 06:21:32 +00:00
builtin.mk Overhaul the way packages can ask for "msgfmt". If a package needs 2006-04-13 16:35:57 +00:00
DESCR Improvements for DESCRiption and COMMENT. 2004-03-08 18:14:33 +00:00
distinfo Update gettext to 0.14.5. Many bugfixes and improvements, 2006-02-05 22:45:53 +00:00
Makefile Update gettext to 0.14.5. Many bugfixes and improvements, 2006-02-05 22:45:53 +00:00
PLIST Install the locale.alias file into an example directory, and copy it 2005-08-19 22:30:01 +00:00