git: 149c91b1a1e6 - main - security/py-ssh-audit: Sanitize MANPREFIX

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

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

commit 149c91b1a1e6184339275756426d8b6b75df226a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:34:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:33 +0000

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

diff --git a/security/py-ssh-audit/Makefile b/security/py-ssh-audit/Makefile
index b8710c5192c4..1303baddd735 100644
--- a/security/py-ssh-audit/Makefile
+++ b/security/py-ssh-audit/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	ssh-audit
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.1.0
+PORTREVISION=	1
 CATEGORIES=	security
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -19,7 +20,7 @@ GH_ACCOUNT=	jtesta
 USE_PYTHON=	autoplist pep517
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/ssh-audit.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${ECHO_CMD} man/man1/ssh-audit.1.gz >> ${TMPPLIST}
+	${INSTALL_MAN} ${WRKSRC}/ssh-audit.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${ECHO_CMD} share/man/man1/ssh-audit.1.gz >> ${TMPPLIST}
 
 .include <bsd.port.mk>