git: 9998de168c4d - main - games/openbve: Sanitize MANPREFIX

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

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

commit 9998de168c4dc528b5608a8796ef249cf6b41d79
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:50:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:46 +0000

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

diff --git a/games/openbve/Makefile b/games/openbve/Makefile
index c0d078ec79ed..e7d6ae61bdaf 100644
--- a/games/openbve/Makefile
+++ b/games/openbve/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	${GH_PROJECT:tl}
 PORTVERSION=	1.9.2.5
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -78,7 +79,7 @@ do-install:
 		"$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${script}
 	${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${script}
 .endfor
-	${INSTALL_MAN} ${WRKSRC}/debian/*.6 ${STAGEDIR}${MANPREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/debian/*.6 ${STAGEDIR}${PREFIX}/share/man/man6
 	${INSTALL_DATA} ${WRKSRC}/debian/openbve.desktop \
 		${STAGEDIR}${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/debian/openbve.png \
diff --git a/games/openbve/pkg-plist b/games/openbve/pkg-plist
index 230c771441fa..b64d6db9dcba 100644
--- a/games/openbve/pkg-plist
+++ b/games/openbve/pkg-plist
@@ -997,8 +997,8 @@ bin/openbve-routeviewer
 %%DATADIR%%/x86/Tolk.lib
 %%DATADIR%%/x86/dolapi32.dll
 %%DATADIR%%/x86/nvdaControllerClient32.dll
-man/man6/openbve-objectviewer.6.gz
-man/man6/openbve-routeviewer.6.gz
-man/man6/openbve.6.gz
+share/man/man6/openbve-objectviewer.6.gz
+share/man/man6/openbve-routeviewer.6.gz
+share/man/man6/openbve.6.gz
 share/applications/openbve.desktop
 share/pixmaps/openbve.png