freebsd-ports/lang/nawk/Makefile
Thierry Thomas b3e40b6eb3 - Update to 20041222 and fix unfetchable; [1]
- set DIST_SUBDIR.

PR:		ports/78108 [1]
Submitted by:	Sam Lawrance
2005-02-26 20:34:01 +00:00

30 lines
701 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= 20041222
CATEGORIES= lang
MASTER_SITES= http://cm.bell-labs.com/cm/cs/who/bwk/
DISTNAME= awk
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
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
CFLAGS+= -DHAS_ISBLANK
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>