Skip to content

Commit

Permalink
games/nethack32: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent 821ec03 commit d205f30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion games/nethack32/files/patch-sys-unix-Makefile.doc
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions games/nethack32/pkg-plist
Expand Up @@ -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

0 comments on commit d205f30

Please sign in to comment.