40b3ba5e86
Version 0.20.2 - April 2020 * Improvements for maintainers: - A dependency bug in po/Makefile.in.in has been fixed. * Programming languages support: - Shell: o The programs 'gettext', 'ngettext', when invoked with option -e, now expand '\\' and octal escape sequences, instead of swallowing them. (Bug present since the beginning.) o xgettext now recognizes 'gettext' program invocations with the '-e' option, such as gettext -e 'some\nstring\n' - Python: xgettext now assumes a Python source file is in UTF-8 encoding by default, as stated in PEP 3120. - Desktop Entry: The value of the 'Icon' property is no longer extracted into the POT file by xgettext. The documentation explains how to localize icons. * Runtime behaviour: - The interpretation of the language preferences on macOS has been improved, especially in the case where a system locale does not exist for the combination of the selected primary language and the selected territory. - Fixed a multithread-safety bug on Cygwin and native Windows.
40 lines
941 B
Makefile
40 lines
941 B
Makefile
# $NetBSD: Makefile,v 1.27 2020/04/20 08:37:14 wiz Exp $
|
|
|
|
.include "../../devel/gettext/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-m4-/}
|
|
COMMENT= Autoconf/automake m4 files for GNU NLS library
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/gettext/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../devel/gettext/patches
|
|
|
|
NO_BUILD= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
INSTALLATION_DIRS+= share/aclocal
|
|
|
|
GNULIB_M4_FILES= \
|
|
codeset.m4 \
|
|
extern-inline.m4 \
|
|
host-cpu-c-abi.m4 \
|
|
lcmessage.m4 \
|
|
lib-ld.m4 \
|
|
lib-link.m4 \
|
|
lib-prefix.m4 \
|
|
lock.m4 \
|
|
threadlib.m4 \
|
|
wchar_t.m4 \
|
|
wint_t.m4
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/gettext-runtime/m4/*.m4 \
|
|
${DESTDIR}${PREFIX}/share/aclocal
|
|
${INSTALL_DATA} ${WRKSRC}/gettext-tools/m4/*.m4 \
|
|
${DESTDIR}${PREFIX}/share/aclocal
|
|
.for i in ${GNULIB_M4_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/gettext-tools/gnulib-m4/${i} \
|
|
${DESTDIR}${PREFIX}/share/aclocal
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|