aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:42:00 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:51:35 +0000
commit7e250172910e64c660eb44c7049d4a8ad675a176 (patch)
treec6fbcdeacdf30ce5f1edf47c1d0651281c6d50bf
parent0a563fcbcd279e0f2091d0f87b60ca69fe38faa3 (diff)
downloadports-7e250172910e64c660eb44c7049d4a8ad675a176.tar.gz
ports-7e250172910e64c660eb44c7049d4a8ad675a176.zip
security/whatweb: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--security/whatweb/Makefile3
-rw-r--r--security/whatweb/pkg-plist2
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