aboutsummaryrefslogtreecommitdiff
path: root/games/xnethack
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2024-03-19 00:13:00 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2024-03-19 02:13:54 +0000
commit8143c933fa0236d23baf4d85c85907ae26342cfa (patch)
tree5059833fd2ca976caaba3c5688a471af75766290 /games/xnethack
parentad29b37604042ef34bcd83da2b9a09faa18590f4 (diff)
downloadports-8143c933fa0236d23baf4d85c85907ae26342cfa.tar.gz
ports-8143c933fa0236d23baf4d85c85907ae26342cfa.zip
games/xnethack: Move man pages to share/man
Approved by: portmgr (blanket)
Diffstat (limited to 'games/xnethack')
-rw-r--r--games/xnethack/Makefile1
-rw-r--r--games/xnethack/files/patch-sys-unix-Makefile.doc2
-rw-r--r--games/xnethack/pkg-plist8
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