git: d205f30e39db - main - games/nethack32: Sanitize MANPREFIX

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

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

commit d205f30e39db8e85717ad2c28ca9b77c8288c575
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:46:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:14 +0000

    games/nethack32: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 games/nethack32/Makefile                          |  2 +-
 games/nethack32/files/patch-sys-unix-Makefile.doc |  2 +-
 games/nethack32/pkg-plist                         | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 88ec84832b94..8a015487f91e 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nethack32
 PORTVERSION=	3.2.3
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	games
 MASTER_SITES=	SF/${TRUEPORTNAME}/${TRUEPORTNAME}/3.2.2
 DISTNAME=	nethack-322
diff --git a/games/nethack32/files/patch-sys-unix-Makefile.doc b/games/nethack32/files/patch-sys-unix-Makefile.doc
index d1e20b0424b2..6ed225fc17d2 100644
--- a/games/nethack32/files/patch-sys-unix-Makefile.doc
+++ b/games/nethack32/files/patch-sys-unix-Makefile.doc
@@ -5,7 +5,7 @@
  
  GAME	= nethack
 -MANDIR	= /usr/man/man6
-+MANDIR	= ${MANPREFIX}/man/man6
++MANDIR	= ${PREFIX}/share/man/man6
  MANEXT	= 6
  
  # manual installation for most BSD-style systems
diff --git a/games/nethack32/pkg-plist b/games/nethack32/pkg-plist
index ce52514b77d7..6cf3febc4379 100644
--- a/games/nethack32/pkg-plist
+++ b/games/nethack32/pkg-plist
@@ -120,11 +120,11 @@
 @mode
 @owner
 @group
-man/man6/dgn_comp%%HACKEXT%%.6.gz
-man/man6/dlb%%HACKEXT%%.6.gz
-man/man6/lev_comp%%HACKEXT%%.6.gz
-man/man6/%%HACKNAME%%.6.gz
-man/man6/recover%%HACKEXT%%.6.gz
+share/man/man6/dgn_comp%%HACKEXT%%.6.gz
+share/man/man6/dlb%%HACKEXT%%.6.gz
+share/man/man6/lev_comp%%HACKEXT%%.6.gz
+share/man/man6/%%HACKNAME%%.6.gz
+share/man/man6/recover%%HACKEXT%%.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
 @dir(games,games,0775) %%DATADIR%%
 @dir(games,games,0775) %%DATADIR%%/save