git: b240b082365a - main - security/nikto: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:20:10 UTC
The branch main has been updated by bofh:

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

commit b240b082365a98c5990fcc59e530d735d714c408
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:08:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:47 +0000

    security/nikto: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/nikto/Makefile  | 3 ++-
 security/nikto/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/nikto/Makefile b/security/nikto/Makefile
index 277c8899bf33..f5aeb0cd53c9 100644
--- a/security/nikto/Makefile
+++ b/security/nikto/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nikto
 PORTVERSION=	2.1.6
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security www
 
@@ -39,7 +40,7 @@ post-patch:	.SILENT
 
 do-install:	.SILENT
 	${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${STAGEDIR}${PREFIX}/bin/nikto
-	${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${STAGEDIR}${PREFIX}/man/man1/nikto.1
+	${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${STAGEDIR}${PREFIX}/share/man/man1/nikto.1
 	${INSTALL_DATA} ${WRKSRC}/nikto.conf ${STAGEDIR}${PREFIX}/etc/nikto.conf.sample
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/replay.pl ${STAGEDIR}${DATADIR}
diff --git a/security/nikto/pkg-plist b/security/nikto/pkg-plist
index cae74fda121b..3a1370f980d4 100644
--- a/security/nikto/pkg-plist
+++ b/security/nikto/pkg-plist
@@ -1,6 +1,6 @@
 bin/nikto
 @sample etc/nikto.conf.sample
-man/man1/nikto.1.gz
+share/man/man1/nikto.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
 %%PORTDOCS%%%%DOCSDIR%%/nikto.dtd