git: 8d5aa4bcb4a5 - main - net/motsognir: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 20:24:41 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d5aa4bcb4a5a7d740075c73c5f0dc3ce66bb68b

commit 8d5aa4bcb4a5a7d740075c73c5f0dc3ce66bb68b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:21:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:24:11 +0000

    net/motsognir: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/motsognir/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/motsognir/Makefile b/net/motsognir/Makefile
index f131f5a4dfb8..00e2aacbd83c 100644
--- a/net/motsognir/Makefile
+++ b/net/motsognir/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	motsognir
 PORTVERSION=	1.0.13
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/v${PORTVERSION}
 
@@ -16,11 +17,11 @@ SUB_FILES=	pkg-message
 
 PLIST_FILES=	bin/motsognir \
 		"@sample etc/motsognir.conf.sample" \
-		man/man8/motsognir.8.gz
+		share/man/man8/motsognir.8.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir
 	${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/motsognir.8.gz
+	${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${PREFIX}/share/man/man8/motsognir.8.gz
 
 .include <bsd.port.mk>