git: 4df03925f011 - main - security/setaudit: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 21 Mar 2024 20:23:33 UTC
The branch main has been updated by eduardo:

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

commit 4df03925f0115d16d2b12602b5c8ce5fd62a6913
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 18:42:58 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 20:22:59 +0000

    security/setaudit: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/setaudit/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/security/setaudit/Makefile b/security/setaudit/Makefile
index 83edb0db10b6..1f20c5766002 100644
--- a/security/setaudit/Makefile
+++ b/security/setaudit/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	setaudit
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.3
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	0mp@FreeBSD.org
@@ -13,13 +14,14 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	csjayp
 
 PLIST_FILES=	bin/setaudit \
-		man/man8/setaudit.8.gz
+		share/man/man8/setaudit.8.gz
 PORTDOCS=	README.md
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/setaudit
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}/${PREFIX}/share/man/man8
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}