0735e3941f
into place via REQD_FILES. This fixes a CHECK_FILES error. Bump the PKGREVISION to 5.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2005/08/19 22:30:01 jlam Exp $
|
|
|
|
DISTNAME= gettext-0.11.5
|
|
PKGNAME= gettext-lib-0.11.5
|
|
SVR4_PKGNAME= gttli
|
|
PKGREVISION= 5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
|
|
COMMENT= Internationalized Message Handling Library (libintl)
|
|
|
|
CONFLICTS= gettext<=0.10.35
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
|
|
BUILD_TARGET= all-yes
|
|
INSTALL_TARGET= install-exec
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} localedir=${EGDIR}
|
|
|
|
BUILD_DIRS= ${WRKSRC}/intl
|
|
EGDIR= ${PREFIX}/share/examples/gettext
|
|
LOCALEDIR= ${PREFIX}/${PKGLOCALEDIR}/locale
|
|
|
|
USE_PKGINSTALL= yes
|
|
REQD_FILES+= ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
CPPFLAGS+= -D_INTL_REDIRECT_MACROS=1 -DSTATIC=static
|
|
.endif
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|