git: 239abc272d17 - main - games/nethack33: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 12:26:25 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=239abc272d17ca7203b348ea2d222bf4d3009db6
commit 239abc272d17ca7203b348ea2d222bf4d3009db6
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:50:27 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:14 +0000
games/nethack33: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
games/nethack33/Makefile | 2 +-
games/nethack33/files/patch-sys-unix-Makefile.doc | 2 +-
games/nethack33/pkg-plist | 10 +++++-----
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