git: fe4230568dce - main - security/spm: Sanitize MANPREFIX

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

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

commit fe4230568dce9ddffa5c1f0aa2fe01262ed6181d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:39:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:34 +0000

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

diff --git a/security/spm/Makefile b/security/spm/Makefile
index 41583aa124a8..8b27e995bb35 100644
--- a/security/spm/Makefile
+++ b/security/spm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spm
 PORTVERSION=	0.20200208
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://notabug.org/kl3/spm/archive/
 DISTNAME=	f920ab3f68
@@ -15,7 +16,7 @@ RUN_DEPENDS=	gpg2:security/gnupg \
 		tree:sysutils/tree
 
 PLIST_FILES=	bin/spm \
-		man/man1/spm.1.gz
+		share/man/man1/spm.1.gz
 
 WRKSRC=		${WRKDIR}/spm
 NO_ARCH=	yes
@@ -24,6 +25,6 @@ NO_BUILD=	yes
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
 	  ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/spm.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/spm.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>