git: e00d882414cf - main - games/nethack34: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 11:34:39 UTC
The branch main has been updated by yasu:

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

commit e00d882414cf30f882b32f8353f7a7955a46b262
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-16 11:23:49 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-16 11:34:11 +0000

    games/nethack34: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/nethack34/Makefile                          |  2 +-
 games/nethack34/files/patch-sys-unix-Makefile.doc |  2 +-
 games/nethack34/pkg-plist                         | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index a7fc45c6480a..673b0714d29d 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nethack34
 PORTVERSION=	3.4.3
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	games
 MASTER_SITES=	SF/${TRUEPORTNAME}/${TRUEPORTNAME}/${PORTVERSION}
 DISTNAME=	${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src
diff --git a/games/nethack34/files/patch-sys-unix-Makefile.doc b/games/nethack34/files/patch-sys-unix-Makefile.doc
index ca34bd9cf781..5ecb3079953a 100644
--- a/games/nethack34/files/patch-sys-unix-Makefile.doc
+++ b/games/nethack34/files/patch-sys-unix-Makefile.doc
@@ -5,7 +5,7 @@
  
  GAME	= nethack
 -MANDIR	= /usr/man/man6
-+MANDIR	= ${PREFIX}/man/man
++MANDIR	= ${PREFIX}/share/man/man
  MANEXT	= 6
  
  # manual installation for most BSD-style systems
diff --git a/games/nethack34/pkg-plist b/games/nethack34/pkg-plist
index af51b8eca142..c1c40ef8f984 100644
--- a/games/nethack34/pkg-plist
+++ b/games/nethack34/pkg-plist
@@ -145,11 +145,11 @@ bin/%%HACKNAME%%
 @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%%/save
 @dir(games,games,0775) %%DATADIR%%