pkgsrc/devel/gettext-lib/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

2008-06-20 03:09:05 +02:00
# $NetBSD: Makefile,v 1.47 2008/06/20 01:09:12 joerg Exp $
DISTNAME= gettext-0.14.6
PKGNAME= gettext-lib-0.14.6
SVR4_PKGNAME= gttli
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
COMMENT= Internationalized Message Handling Library (libintl)
CONFLICTS= gettext<=0.10.35
2004-01-06 05:37:52 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2008-06-20 03:09:05 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-01-05 12:17:10 +01:00
WRKSRC= ${WRKDIR}/${DISTNAME}/gettext-runtime
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-included-gettext
CONFIGURE_ARGS+= --disable-csharp
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
CFLAGS+= ${CFLAGS.${ICONV_TYPE}-iconv}
CFLAGS.gnu-iconv+= -DHAVE_GNU_ICONV
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} localedir=${EGDIR}
BUILD_DIRS= intl
EGDIR= ${PREFIX}/share/examples/gettext
LOCALEDIR= ${PREFIX}/${PKGLOCALEDIR}/locale
REQD_DIRS+= ${LOCALEDIR}
REQD_FILES+= ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias
2004-01-05 12:17:10 +01:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"