34 lines
923 B
Makefile
34 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.27 2001/02/16 14:38:25 wiz Exp $
|
|
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
|
|
#
|
|
|
|
DISTNAME= gettext-0.10.35
|
|
PKGNAME= gettext-0.10.35nb1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
|
|
COMMENT= tools for providing messages in different languages
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LIBINTL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
INFO_FILES= gettext.info
|
|
PLIST_SUBST+= LOCALEDIR=${LOCALEDIR}
|
|
post-patch:
|
|
${RM} -f ${WRKSRC}/intl/libgettext.h
|
|
${RM} -f ${WRKSRC}/intl/libintl.h
|
|
${CP} ${FILESDIR}/libgettext.h ${WRKSRC}/intl
|
|
|
|
post-configure:
|
|
${RM} -f ${WRKSRC}/intl/libintl.h
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/intl; ${MAKE_PROGRAM} install-data
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|