pkgsrc/lang/nawk/Makefile
jperkin b112e313df Increase the default YYMAXDEPTH from 150 to 300, fixes problems building
devel/editline where mdoc2man.awk would previously abort with a stack
overflow.  This is still pretty conservative compared to other parsers.

Bump PKGREVISION.
2014-03-25 12:50:49 +00:00

32 lines
778 B
Makefile

# $NetBSD: Makefile,v 1.41 2014/03/25 12:50:49 jperkin Exp $
DISTNAME= nawk-20121220
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.princeton.edu/~bwk/btl.mirror/
COMMENT= Brian Kernighan's pattern-directed scanning and processing language
PKG_INSTALLATION_TYPES= overwrite pkgviews
BOOTSTRAP_PKG= yes
CFLAGS+= ${CPPFLAGS} -DYYMAXDEPTH=300
MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q}
BUILD_TARGET= a.out
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${DESTDIR}${PREFIX}/bin/nawk
${INSTALL_MAN} ${WRKSRC}/nawk.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nawk.1
.include "../../mk/bsd.pkg.mk"