32 lines
767 B
Makefile
32 lines
767 B
Makefile
# $NetBSD: Makefile,v 1.4 2005/05/24 10:29:54 rillig Exp $
|
|
|
|
.include "../../wip/gettext-runtime/Makefile.common"
|
|
|
|
PKGNAME= gettext-lib-${GETTEXT_VERSION}
|
|
SVR4_PKGNAME= gttli
|
|
|
|
COMMENT= Internationalized Message Handling Library (libintl)
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
|
|
BUILD_DIRS= ${WRKSRC}/gettext-runtime/intl
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
CPPFLAGS+= -D_INTL_REDIRECT_MACROS=1 -DSTATIC=static
|
|
.endif
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|