1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/nawk/Makefile
David E. O'Brien 9e279726a1 Update to the Mar 14, 2003 version:
the internationalization changes, somewhat modified, are now
	reinstated.  in theory awk will now do character comparisons
	and case conversions in national language, but "." will always
	be the decimal point separator on input and output regardless
	of national language.  isblank(){} has an #ifndef.

	fixed subtle behavior in field and record splitting: if FS is
	a single character and RS is not empty, \n is NOT a separator.
	this tortuous reading is found in the awk book; behavior now
	matches gawk and mawk.
2003-03-28 21:44:15 +00:00

31 lines
656 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= 20030314
CATEGORIES= lang
MASTER_SITES= http://cm.bell-labs.com/who/bwk/
DISTNAME= awk
MAINTAINER= ports@FreeBSD.org
COMMENT= Brian Kernighan's pattern scanning and processing language
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= a.out
MAN1= nawk.1
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>
CFLAGS+= -DHAS_ISBLANK