git: b49f2d241a26 - main - emulators/zsnes: Sanitize MANPREFIX

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

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

commit b49f2d241a26feb70b064b53ed4e7f9c6fd86b0f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 18:30:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 19:25:25 +0000

    emulators/zsnes: Sanitize MANPREFIX
    
    This has not been tested apart from the others.
    
    Approved by:    portmgr (blanket)
---
 emulators/zsnes/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index 156558fbe685..fcf091b9dc40 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ARGS=	--disable-cpucheck
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/}/src
 
-PLIST_FILES=	bin/zsnes man/man1/zsnes.1.gz
+PLIST_FILES=	bin/zsnes share/man/man1/zsnes.1.gz
 
 NO_OPTIONS_SORT=yes
 OPTIONS_DEFINE=	X11 OPENGL DEBUGGER JMA AO
@@ -57,6 +57,6 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/zsnes ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>