git: 7e250172910e - main - security/whatweb: Sanitize MANPREFIX

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

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

commit 7e250172910e64c660eb44c7049d4a8ad675a176
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:42:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:35 +0000

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

diff --git a/security/whatweb/Makefile b/security/whatweb/Makefile
index 91804fc91ea4..22ac4cc1ea86 100644
--- a/security/whatweb/Makefile
+++ b/security/whatweb/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	whatweb
 DISTVERSION=	0.5.5-${GH_TAGNAME}
+PORTREVISION=	1
 CATEGORIES=	security www
 
 MAINTAINER=	jamie@catflap.org
@@ -34,7 +35,7 @@ do-install:
 	( cd ${WRKSRC}/${dir} && \
 	${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/whatweb/${dir} )
 .endfor
-	${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${STAGEDIR}${PREFIX}/bin/whatweb
 
 do-install-DOCS-on:
diff --git a/security/whatweb/pkg-plist b/security/whatweb/pkg-plist
index caa9533188dc..39b103483029 100644
--- a/security/whatweb/pkg-plist
+++ b/security/whatweb/pkg-plist
@@ -1,5 +1,5 @@
 bin/whatweb
-man/man1/whatweb.1.gz
+share/man/man1/whatweb.1.gz
 %%RUBY_SITELIBDIR%%/whatweb/addons/country-scanner
 %%RUBY_SITELIBDIR%%/whatweb/addons/verify-nikto
 %%RUBY_SITELIBDIR%%/whatweb/lib/colour.rb