git: 13f7fbc20164 - main - lang/nawk: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:53:54 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13f7fbc2016482d96b86756f4867ba124030891f

commit 13f7fbc2016482d96b86756f4867ba124030891f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 17:47:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:30 +0000

    lang/nawk: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 lang/nawk/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index 440e049e34f8..f52e163ce81a 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nawk
 PORTVERSION=	20121220
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang
 MASTER_SITES=	https://BSDforge.com/projects/source/lang/nawk/
 DISTNAME=	awk
@@ -14,7 +14,7 @@ NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile
 ALL_TARGET=	a.out
 CFLAGS+=	-DHAS_ISBLANK
-PLIST_FILES=	bin/nawk man/man1/nawk.1.gz
+PLIST_FILES=	bin/nawk share/man/man1/nawk.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|awk|nawk|g' ${WRKSRC}/awk.1
@@ -22,6 +22,6 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/a.out ${STAGEDIR}${PREFIX}/bin/nawk
 	${INSTALL_MAN} ${WRKSRC}/awk.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1/nawk.1
+		${STAGEDIR}${MANPREFIX}/share/man/man1/nawk.1
 
 .include <bsd.port.mk>