git: bd9b8f1f0dcd - main - security/py-ssh-audit: add manpage

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 09 Nov 2023 08:40:14 UTC
The branch main has been updated by pkubaj:

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

commit bd9b8f1f0dcda0b05616e3b7b9011896ea4d0f5c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-11-08 22:46:22 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-11-09 08:39:51 +0000

    security/py-ssh-audit: add manpage
    
    PR:     274842
    Reported by:    dclarke@blastwave.org
---
 security/py-ssh-audit/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/security/py-ssh-audit/Makefile b/security/py-ssh-audit/Makefile
index f1de9202c363..f6fd69aca8d8 100644
--- a/security/py-ssh-audit/Makefile
+++ b/security/py-ssh-audit/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	ssh-audit
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.0.0
+PORTREVISION=	1
 CATEGORIES=	security
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -18,4 +19,8 @@ USE_GITHUB=	yes
 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}
+
 .include <bsd.port.mk>