aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nawk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nawk/Makefile')
-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>