2008-06-20 03:09:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.47 2008/06/20 01:09:12 joerg Exp $
|
2000-10-31 18:06:17 +01:00
|
|
|
|
2006-07-26 08:53:02 +02:00
|
|
|
DISTNAME= gettext-0.14.6
|
|
|
|
PKGNAME= gettext-lib-0.14.6
|
|
|
|
SVR4_PKGNAME= gttli
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
|
2000-10-31 18:06:17 +01:00
|
|
|
|
2006-07-26 08:53:02 +02:00
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
|
|
|
|
COMMENT= Internationalized Message Handling Library (libintl)
|
2000-10-31 18:06:17 +01:00
|
|
|
|
2001-04-21 14:53:29 +02:00
|
|
|
CONFLICTS= gettext<=0.10.35
|
2002-08-23 03:22:40 +02:00
|
|
|
|
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
|
|
|
|
2006-02-05 23:45:53 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/gettext-runtime
|
|
|
|
|
2004-02-14 17:17:02 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-10-31 18:06:17 +01:00
|
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
2008-03-03 19:02:22 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-csharp
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
|
|
|
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
2000-10-31 18:06:17 +01:00
|
|
|
|
2006-07-06 16:49:55 +02:00
|
|
|
CFLAGS+= ${CFLAGS.${ICONV_TYPE}-iconv}
|
|
|
|
CFLAGS.gnu-iconv+= -DHAVE_GNU_ICONV
|
|
|
|
|
2005-08-20 00:30:01 +02:00
|
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} localedir=${EGDIR}
|
|
|
|
|
2006-02-05 23:45:53 +01:00
|
|
|
BUILD_DIRS= intl
|
2005-08-20 00:30:01 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/gettext
|
|
|
|
LOCALEDIR= ${PREFIX}/${PKGLOCALEDIR}/locale
|
|
|
|
|
2005-08-21 04:31:27 +02:00
|
|
|
REQD_DIRS+= ${LOCALEDIR}
|
2005-08-20 00:30:01 +02:00
|
|
|
REQD_FILES+= ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias
|
2000-10-31 18:06:17 +01:00
|
|
|
|
2004-01-05 12:17:10 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2000-10-31 18:06:17 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|