1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/lang/nawk/Makefile
John Marino 6a29754575 lang/nawk: Upgrade version 20110810 => 20121220
While here, set the DIST_SUBDIR to something unique since the distfile
has the same name between versions.  Also reset maintainship as
Hiro doesn't use nawk on FreeBSD and updates are infrequent.

PR:		187543
Submitted by:	Pedro Giffuni
Tweaks by:	marino@
2014-11-10 19:18:49 +00:00

29 lines
684 B
Makefile

# Created by: Josh Gilliam <josh@quick.net>
# $FreeBSD$
PORTNAME= nawk
PORTVERSION= 20121220
CATEGORIES= lang
MASTER_SITES= http://www.cs.princeton.edu/~bwk/btl.mirror/
DISTNAME= awk
DIST_SUBDIR= nawk-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Brian Kernighan's pattern scanning and processing language
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= a.out
CFLAGS+= -DHAS_ISBLANK
PLIST_FILES= bin/nawk man/man1/nawk.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|awk|nawk|g' ${WRKSRC}/awk.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${STAGEDIR}${PREFIX}/bin/nawk
${INSTALL_MAN} ${WRKSRC}/awk.1 \
${STAGEDIR}${MANPREFIX}/man/man1/nawk.1.gz
.include <bsd.port.mk>