summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 11:46:40 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:26:14 +0100
commitd205f30e39db8e85717ad2c28ca9b77c8288c575 (patch)
tree6dc0f429f0386924714deb429c01b8d67894ce92
parentscience/py-ipygany: Fix build with python-3.11 (diff)
games/nethack32: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--games/nethack32/Makefile2
-rw-r--r--games/nethack32/files/patch-sys-unix-Makefile.doc2
-rw-r--r--games/nethack32/pkg-plist10
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