diff options
Diffstat (limited to 'lang/gawk/Makefile')
-rw-r--r-- | lang/gawk/Makefile | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 3c740f4ff4e..b3fca0e7e47 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2002/02/18 15:14:24 seb Exp $ +# $NetBSD: Makefile,v 1.6 2002/04/04 13:58:26 seb Exp $ # FreeBSD Id: Makefile,v 1.13 1999/01/27 07:41:14 fenner Exp $ -DISTNAME= gawk-3.0.4 +DISTNAME= gawk-3.1.0 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gawk/} @@ -9,11 +9,26 @@ MAINTAINER= bouyer@netbsd.org HOMEPAGE= http://www.gnu.org/software/gawk/gawk.html COMMENT= GNU awk -ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system - -INFO_FILES= gawk.info +# this is a lie we only need ${GETTEXT_PREFIX}/share/gettext/po/Makefile.in.in +BUILD_USES_MSGFMT= YES GNU_CONFIGURE= yes +USE_BUILDLINK_ONLY= YES +TEXINFO_OVERRIDE= YES +MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} +EVAL_PREFIX+= GETTEXT_PREFIX=gettext + +.include "../../mk/bsd.prefs.mk" + +.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/buildlink.mk" .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" |