aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 10:50:27 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 12:26:14 +0000
commit239abc272d17ca7203b348ea2d222bf4d3009db6 (patch)
tree9ad5b67e0002706149f6aecd39045fbd463dc258
parentd205f30e39db8e85717ad2c28ca9b77c8288c575 (diff)
downloadports-239abc272d17ca7203b348ea2d222bf4d3009db6.tar.gz
ports-239abc272d17ca7203b348ea2d222bf4d3009db6.zip
games/nethack33: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--games/nethack33/Makefile2
-rw-r--r--games/nethack33/files/patch-sys-unix-Makefile.doc2
-rw-r--r--games/nethack33/pkg-plist10
3 files changed, 7 insertions, 7 deletions
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index e84dac0d776d..501d6520f1b8 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nethack33
PORTVERSION= 3.3.1
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= SF/${TRUEPORTNAME}/${TRUEPORTNAME}/${PORTVERSION}
DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}
diff --git a/games/nethack33/files/patch-sys-unix-Makefile.doc b/games/nethack33/files/patch-sys-unix-Makefile.doc
index f1064c2f1a74..97fd04fd0a42 100644
--- a/games/nethack33/files/patch-sys-unix-Makefile.doc
+++ b/games/nethack33/files/patch-sys-unix-Makefile.doc
@@ -5,7 +5,7 @@
GAME = nethack
-MANDIR = /usr/man/man6
-+MANDIR = ${MANPREFIX}/man/man
++MANDIR = ${PREFIX}/share/man/man
MANEXT = 6
# manual installation for most BSD-style systems
diff --git a/games/nethack33/pkg-plist b/games/nethack33/pkg-plist
index de3fa9ce2027..46c665798c2c 100644
--- a/games/nethack33/pkg-plist
+++ b/games/nethack33/pkg-plist
@@ -139,11 +139,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%%
@dir(games,games,0775) %%DATADIR%%/save