From 90661901cca637019bf039ab29206c54f2dc626e Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sun, 21 Jan 2024 16:02:12 +0100 Subject: [PATCH] games/nsnake: Sanitize MANPREFIX Approved by: portmgr (blanket) --- games/nsnake/Makefile | 5 +++-- games/nsnake/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile index 844e1a2d2aa7..483a14cae671 100644 --- a/games/nsnake/Makefile +++ b/games/nsnake/Makefile @@ -1,5 +1,6 @@ PORTNAME= nsnake -PORTVERSION= 2.2.0 +DISTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://releases.malikania.fr/nsnake/${PORTVERSION}/ @@ -24,7 +25,7 @@ post-patch: do-install: (cd ${WRKSRC} \ && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \ - && ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6) + && ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${PREFIX}/share/man/man6) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CHANGES.md ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}/var/db/nsnake diff --git a/games/nsnake/pkg-plist b/games/nsnake/pkg-plist index a9e71d6dc458..0a40a0a1ec75 100644 --- a/games/nsnake/pkg-plist +++ b/games/nsnake/pkg-plist @@ -1,4 +1,4 @@ @(games,games,4555) bin/nsnake -man/man6/nsnake.6.gz +share/man/man6/nsnake.6.gz %%DOCS%%%%DOCSDIR%%/CHANGES.md @dir(games,games,) /var/db/nsnake