mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
29 lines
697 B
Makefile
29 lines
697 B
Makefile
# Created by: Josh Gilliam <josh@quick.net>
|
|
|
|
PORTNAME= nawk
|
|
PORTVERSION= 20121220
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= https://BSDforge.com/projects/source/lang/nawk/
|
|
DISTNAME= awk
|
|
DIST_SUBDIR= nawk-${PORTVERSION}
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
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>
|