Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2024 11:34:40 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: ccf438ad4180 - main - games/nethack36: Move man pages to share/man
Message-ID:  <202403161134.42GBYetp090770@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=ccf438ad41803e3d1ed7b324e72835ebf43103c1

commit ccf438ad41803e3d1ed7b324e72835ebf43103c1
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-16 11:32:29 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-16 11:34:11 +0000

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

diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile
index a1d781cd938d..ab5f1d018710 100644
--- a/games/nethack36/Makefile
+++ b/games/nethack36/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nethack36
 PORTVERSION=	3.6.7
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	https://nethack.org/download/${PORTVERSION}/
 DISTNAME=	${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src
diff --git a/games/nethack36/files/patch-sys-unix-Makefile.doc b/games/nethack36/files/patch-sys-unix-Makefile.doc
index da3cd316b4de..73acd2c7101f 100644
--- a/games/nethack36/files/patch-sys-unix-Makefile.doc
+++ b/games/nethack36/files/patch-sys-unix-Makefile.doc
@@ -7,7 +7,7 @@
 -GAME	= nethack
 -MANDIR	= /usr/man/man6
 +GAME	= nethack%%HACKEXT%%
-+MANDIR	= ${PREFIX}/man/man
++MANDIR	= ${PREFIX}/share/man/man
  MANEXT	= 6
  
  # manual installation for most BSD-style systems
diff --git a/games/nethack36/pkg-plist b/games/nethack36/pkg-plist
index f1a6b0f25a82..cca121126f42 100644
--- a/games/nethack36/pkg-plist
+++ b/games/nethack36/pkg-plist
@@ -162,12 +162,12 @@ bin/%%HACKNAME%%
 @sample(games,games,664) %%DATADIR%%/xlogfile.sample
 @owner
 @group
-man/man6/dgn_comp%%HACKEXT%%.6.gz
-man/man6/dlb%%HACKEXT%%.6.gz
-man/man6/lev_comp%%HACKEXT%%.6.gz
-man/man6/makedefs%%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/makedefs%%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%%



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