pkgsrc/devel/gettext
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
..
files Overhaul the way packages can ask for "msgfmt". If a package needs 2006-04-13 16:35:57 +00:00
patches correct patches, which didn't cleanly apply. Pointed out by joerg@ and 2006-02-21 20:04:03 +00:00
DESCR
distinfo correct patches, which didn't cleanly apply. Pointed out by joerg@ and 2006-02-21 20:04:03 +00:00
Makefile Over 1200 files touched but no revisions bumped :) 2006-04-06 06:21:32 +00:00
PLIST Update gettext to 0.14.5. Many bugfixes and improvements, 2006-02-05 22:45:53 +00:00