aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2024-03-16 11:32:29 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2024-03-16 11:34:11 +0000
commitccf438ad41803e3d1ed7b324e72835ebf43103c1 (patch)
treea66610f2eaad593f603d85e24533e45a945c4fda
parente00d882414cf30f882b32f8353f7a7955a46b262 (diff)
downloadports-ccf438ad41803e3d1ed7b324e72835ebf43103c1.tar.gz
ports-ccf438ad41803e3d1ed7b324e72835ebf43103c1.zip
games/nethack36: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--games/nethack36/Makefile1
-rw-r--r--games/nethack36/files/patch-sys-unix-Makefile.doc2
-rw-r--r--games/nethack36/pkg-plist12
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%%