aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nawk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-02-22 04:59:06 +0800
committerobrien <obrien@FreeBSD.org>2001-02-22 04:59:06 +0800
commit8b84bf9787aea950e3c081114fedcc8b371ef0dd (patch)
treeeaa7c96562a9d88d5bf0631ed6c19588e2ca8d21 /lang/nawk
parent711b76e20bf2e1e3f7733470f828d6d573c59261 (diff)
downloadfreebsd-ports-gnome-8b84bf9787aea950e3c081114fedcc8b371ef0dd.tar.gz
freebsd-ports-gnome-8b84bf9787aea950e3c081114fedcc8b371ef0dd.tar.zst
freebsd-ports-gnome-8b84bf9787aea950e3c081114fedcc8b371ef0dd.zip
Change the manpage to say 'nawk' rather than just 'awk' to match the
installed binary name. Obtained from: NetBSD
Diffstat (limited to 'lang/nawk')
-rw-r--r--lang/nawk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index c24b21244fe7..47f5c794c28b 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -21,6 +21,7 @@ MAN1= nawk.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
- ${INSTALL_MAN} ${WRKSRC}/awk.1 ${PREFIX}/man/man1/nawk.1
+ ${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${WRKSRC}/nawk.1
+ ${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/man/man1
.include <bsd.port.mk>