git: fd0b2d9567d6 - main - games/mahjong: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 10:42:56 UTC
The branch main has been updated by bofh:

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

commit fd0b2d9567d674a7496813d2729e376bb079a847
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:42:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:29 +0000

    games/mahjong: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 games/mahjong/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile
index 8ff68e3731a9..cbae498b769a 100644
--- a/games/mahjong/Makefile
+++ b/games/mahjong/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mahjong
 PORTVERSION=	1.16
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games net
 MASTER_SITES=	http://mahjong.julianbradfield.org/Source/%SUBDIR%/
 DISTNAME=	mj-${PORTVERSION}-src
@@ -17,8 +17,8 @@ USE_PERL5=	build
 MAKE_ENV=	CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" PERL="${PERL}"
 
 PLIST_FILES=	bin/mj-server bin/mj-player bin/xmj \
-		man/man1/mj-player.1.gz man/man1/mj-server.1.gz \
-		man/man1/xmj.1.gz
+		share/man/man1/mj-player.1.gz share/man/man1/mj-server.1.gz \
+		share/man/man1/xmj.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -45,9 +45,9 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin/${i})
 .endfor
 	(cd ${WRKSRC} && ${INSTALL_MAN} xmj.man \
-		${STAGEDIR}${MANPREFIX}/man/man1/xmj.1)
+		${STAGEDIR}${PREFIX}/share/man/man1/xmj.1)
 .for i in mj-player.1 mj-server.1
-	${LN} -sf xmj.1 ${STAGEDIR}${MANPREFIX}/man/man1/${i}
+	${LN} -sf xmj.1 ${STAGEDIR}${PREFIX}/share/man/man1/${i}
 .endfor
 
 .include <bsd.port.mk>