git: a75a61587b66 - main - games/robotfindskitten: Sanitize MANPREFIX

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

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

commit a75a61587b660d6f8b82d285778d412cd551ff50
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 01:02:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:47 +0000

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

diff --git a/games/robotfindskitten/Makefile b/games/robotfindskitten/Makefile
index 42efa1dbb8ad..941187864a9b 100644
--- a/games/robotfindskitten/Makefile
+++ b/games/robotfindskitten/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	robotfindskitten
 PORTVERSION=	2.8284271.702
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	games
 
@@ -42,7 +43,7 @@ do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/src/robotfindskitten ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/nki/vanilla.nki ${STAGEDIR}${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/doc/robotfindskitten.6 ${STAGEDIR}${MANPREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/doc/robotfindskitten.6 ${STAGEDIR}${PREFIX}/share/man/man6
 
 .if ${PORT_OPTIONS:MEXTRANKI}
 .for NKI in ${SUB_FILES}
diff --git a/games/robotfindskitten/pkg-plist b/games/robotfindskitten/pkg-plist
index 092245dc7102..9d56a7d667b9 100644
--- a/games/robotfindskitten/pkg-plist
+++ b/games/robotfindskitten/pkg-plist
@@ -2,4 +2,4 @@ bin/robotfindskitten
 %%DATADIR%%/vanilla.nki
 %%EXTRANKI%%%%DATADIR%%/freebsd.nki
 %%EXTRANKI%%%%DATADIR%%/nethack.nki
-man/man6/robotfindskitten.6.gz
+share/man/man6/robotfindskitten.6.gz