Skip to content

Commit

Permalink
games/nethack36: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Yasuhiro Kimura authored and Yasuhiro Kimura committed Mar 16, 2024
1 parent e00d882 commit ccf438a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions games/nethack36/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion games/nethack36/files/patch-sys-unix-Makefile.doc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions games/nethack36/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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%%

0 comments on commit ccf438a

Please sign in to comment.