git: 8ce1df089a9b - main - games/omega: Sanitize MANPREFIX

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

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

commit 8ce1df089a9b330d1879480c501df7876946a725
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:53:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:47 +0000

    games/omega: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 games/omega/Makefile  | 4 ++--
 games/omega/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games/omega/Makefile b/games/omega/Makefile
index 21e2d55a42fe..9f5aa18ecfe9 100644
--- a/games/omega/Makefile
+++ b/games/omega/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	omega
 PORTVERSION=	0.90.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	http://www.alcyone.com/binaries/omega/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -21,7 +21,7 @@ OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/omega ${STAGEDIR}${PREFIX}/bin/omega-game
-	${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${STAGEDIR}${MANPREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${STAGEDIR}${PREFIX}/share/man/man6
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
 	${CP} ${STAGEDIR}${DATADIR}/omega.hi ${STAGEDIR}${DATADIR}/omegahi.bak
diff --git a/games/omega/pkg-plist b/games/omega/pkg-plist
index 34ba62dc8160..efc634ca89b3 100644
--- a/games/omega/pkg-plist
+++ b/games/omega/pkg-plist
@@ -8,7 +8,7 @@ bin/omega-game
 %%DATADIR%%/omega.log
 %%DATADIR%%/omegahi.bak
 @mode
-man/man6/omega.6.gz
+share/man/man6/omega.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/buglist.txt
 %%PORTDOCS%%%%DOCSDIR%%/compile.all
 %%PORTDOCS%%%%DOCSDIR%%/omega.txt