Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2024 02:15:51 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8143c933fa02 - main - games/xnethack: Move man pages to share/man
Message-ID:  <202403190215.42J2FpOC051017@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu:

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

commit 8143c933fa0236d23baf4d85c85907ae26342cfa
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-19 00:13:00 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-19 02:13:54 +0000

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

diff --git a/games/xnethack/Makefile b/games/xnethack/Makefile
index 148567aa4341..990d6b994945 100644
--- a/games/xnethack/Makefile
+++ b/games/xnethack/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	xNetHack
 DISTVERSIONPREFIX=	xnh
 DISTVERSION=	8.0
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	fuz@FreeBSD.org
diff --git a/games/xnethack/files/patch-sys-unix-Makefile.doc b/games/xnethack/files/patch-sys-unix-Makefile.doc
index 9dbf2ddf142b..bc26192149f2 100644
--- a/games/xnethack/files/patch-sys-unix-Makefile.doc
+++ b/games/xnethack/files/patch-sys-unix-Makefile.doc
@@ -10,7 +10,7 @@
 -GAME	= nethack
 -MANDIR	= /usr/man/man6
 +GAME	= xnethack
-+MANDIR	= ${PREFIX}/man/man6
++MANDIR	= ${PREFIX}/share/man/man6
  MANEXT	= 6
  
  # manual installation for most BSD-style systems
diff --git a/games/xnethack/pkg-plist b/games/xnethack/pkg-plist
index b82a341e75b2..677fcf42551f 100644
--- a/games/xnethack/pkg-plist
+++ b/games/xnethack/pkg-plist
@@ -190,10 +190,10 @@ bin/%%HACKNAME%%
 @sample(games,games,664) %%DATADIR%%/xlogfile.sample
 @owner
 @group
-man/man6/dlb.6.gz
-man/man6/makedefs.6.gz
-man/man6/recover.6.gz
-man/man6/%%HACKNAME%%.6.gz
+share/man/man6/dlb.6.gz
+share/man/man6/makedefs.6.gz
+share/man/man6/recover.6.gz
+share/man/man6/%%HACKNAME%%.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
 @dir(games,games,0775) %%DATADIR%%/save
 @dir(games,games,0775) %%DATADIR%%/whereis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403190215.42J2FpOC051017>