freebsd-ports/lang/nawk/Makefile
Sunpoet Po-Chuan Hsieh 9e6d588496 - Update to 20100523
Changes:
- fixed long-standing overflow bug in run.c; many thanks to
  nelson beebe for spotting it and providing the fix.
- fixed bug that didn't parse -vd=1 properly; thanks to santiago
  vila for spotting it.

PR:		ports/152025
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
Approved by:	maintainer (timeout, 18 days)
2010-11-25 12:05:07 +00:00

31 lines
714 B
Makefile

# ex:ts=8
# Ports collection makefile for: nawk
# Date created: 29 April 1998
# Whom: Josh Gilliam <josh@quick.net>
#
# $FreeBSD$
#
PORTNAME= nawk
PORTVERSION= 20100523
CATEGORIES= lang
MASTER_SITES= http://www.cs.princeton.edu/~bwk/btl.mirror/
DISTNAME= awk
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ota@j.email.ne.jp
COMMENT= Brian Kernighan's pattern scanning and processing language
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= a.out
MAN1= nawk.1
CFLAGS+= -DHAS_ISBLANK
PLIST_FILES= bin/nawk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${WRKSRC}/nawk.1
${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/man/man1
.include <bsd.port.mk>