8583c6027e
* xgettext now understands the block comment syntax of Guile 2.0. * libgettextpo library: - The initial msgstr of a new message is now "", not NULL. - Bug fixes in the functions po_message_is_range, po_file_check_all, po_message_check_all. * Installation options: The configure options --with-xz and --with-bzip2 can be used to specify alternate compression methods for the archive used by the 'autopoint' program. These options, together with --with-git, allow to trade dependencies against installed package size. --with-xz has the highest compression rate, followed by --with-git, followed by --with-bzip2. * Autoconf macros: - The autoconf macros installed by 'gettextize' now work with the forthcoming Automake 1.14 and require Autoconf version 2.60 or newer. * Portability: - Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit mingw is now supported.
40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.81 2013/01/31 21:45:03 adam Exp $
|
|
|
|
.include "../../devel/gettext/Makefile.common"
|
|
|
|
COMMENT= Tools for providing messages in different languages
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= gettext-m4-${PKGVERSION_NOREV}{,nb[0-9]*}:../../devel/gettext-m4
|
|
DEPENDS+= gettext-tools-${PKGVERSION_NOREV}{,nb[0-9]*}:../../devel/gettext-tools
|
|
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.18
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
SHLIBTOOL_OVERRIDE= # empty
|
|
CONFIGURE_ARGS+= --disable-csharp
|
|
CONFIGURE_ARGS+= --without-git
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
|
CONFIGURE_ENV+= GCJ= ac_cv_prog_GCJ=
|
|
CONFIGURE_ENV+= HAVE_GCJ_IN_PATH=
|
|
CONFIGURE_ENV+= HAVE_JAVAC_IN_PATH=
|
|
CONFIGURE_ENV+= HAVE_JIKES_IN_PATH=
|
|
CONFIGURE_ENV+= ac_cv_libexpat=no
|
|
|
|
INSTALLATION_DIRS+= lib/gettext ${PKGMANDIR}/man1
|
|
TEST_TARGET= check
|
|
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS DESTDIR=${DESTDIR}
|
|
cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install DESTDIR=${DESTDIR}
|
|
cd ${WRKSRC}/gettext-tools/src && ${MAKE} install-tcl install-exec-local DESTDIR=${DESTDIR}
|
|
cd ${WRKSRC}/gettext-runtime && ${MAKE} install-gettextsrcDATA DESTDIR=${DESTDIR}
|
|
cd ${WRKSRC}/gettext-tools/intl && ${MAKE} install-exec install-data DESTDIR=${DESTDIR}
|
|
cd ${WRKSRC}/gettext-tools/po && ${MAKE} installdirs-data DESTDIR=${DESTDIR}
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/gettext-asprintf/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|