summaryrefslogtreecommitdiffstats
path: root/lang/nawk/Makefile
blob: 3469e89a9f064c87b18163be3321cd6cc52080c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ex:ts=8
# Ports collection makefile for:  nawk
# Date created:			  29 April 1998
# Whom:				  Josh Gilliam <josh@quick.net>
#
# $FreeBSD$
#

PORTNAME=	nawk
PORTVERSION=	20030731
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
OpenPOWER on IntegriCloud