git: db5b08fce177 - main - security/lynis: Sanitize MANPREFIX

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

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

commit db5b08fce17761f6c3edddbbe5989819ce56d646
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:40:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:35 +0000

    security/lynis: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/lynis/Makefile  | 3 ++-
 security/lynis/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/lynis/Makefile b/security/lynis/Makefile
index 8beff0c86b28..f239f758ee36 100644
--- a/security/lynis/Makefile
+++ b/security/lynis/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lynis
 PORTVERSION=	3.0.9
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://cisofy.com/files/
 
@@ -29,7 +30,7 @@ post-patch:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
 	${INSTALL_DATA} ${WRKSRC}/default.prf \
 		${STAGEDIR}${PREFIX}/etc/${PORTNAME}/default.prf.sample
diff --git a/security/lynis/pkg-plist b/security/lynis/pkg-plist
index f7d7236307a0..e3fb2284fbc1 100644
--- a/security/lynis/pkg-plist
+++ b/security/lynis/pkg-plist
@@ -1,7 +1,7 @@
 bin/lynis
 etc/bash_completion.d/lynis
 @sample %%ETCDIR%%/default.prf.sample
-man/man8/lynis.8.gz
+share/man/man8/lynis.8.gz
 %%DATADIR%%/db/fileperms.db
 %%DATADIR%%/db/hints.db
 %%DATADIR%%/db/integrity.db