pkgsrc/lang/gawk/Makefile
2003-07-17 21:41:05 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2003/07/17 21:44:21 grant Exp $
# FreeBSD Id: Makefile,v 1.13 1999/01/27 07:41:14 fenner Exp $
DISTNAME= gawk-3.1.1
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gawk/gawk.html
COMMENT= GNU awk
CONFLICTS= ja-gawk-[0-9]*
# We need ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in.
BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
USE_BUILDLINK2= # defined
USE_GMAKE= # defined
GNU_CONFIGURE= # defined
USE_PKGLOCALEDIR= # defined
TEXINFO_OVERRIDE= # defined
EVAL_PREFIX+= GETTEXT_PREFIX=gettext
TEST_DIRS= ${WRKSRC}
TEST_TARGET= check
USE_NEW_TEXINFO= YES
INFO_FILES= gawk.info gawkinet.info
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= GAWK_ENABLE_PORTALS
.if ${GAWK_ENABLE_PORTALS} == "YES"
CONFIGURE_ARGS+= --enable-portals
.endif
pre-configure:
${RM} -f ${WRKSRC}/po/Makefile.in.in
${CP} ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in \
${WRKSRC}/po/Makefile.in.in
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"