git: c097306ffdde - main - net-mgmt/check_ssl_cert: Sanitize MANPREFIX

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

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

commit c097306ffddedc7d1014aad2610651856d3ae5d8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:29:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:12 +0000

    net-mgmt/check_ssl_cert: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/check_ssl_cert/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/check_ssl_cert/Makefile b/net-mgmt/check_ssl_cert/Makefile
index 5b22cfc927dc..9cc5d8be67b4 100644
--- a/net-mgmt/check_ssl_cert/Makefile
+++ b/net-mgmt/check_ssl_cert/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	check_ssl_cert
 DISTVERSION=	2.79.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://github.com/matteocorti/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -20,11 +21,11 @@ NO_BUILD=	yes
 NO_ARCH=	yes
 
 PLIST_FILES=	libexec/nagios/check_ssl_cert \
-		${MANPREFIX}/man/man1/check_ssl_cert.1.gz
+		${PREFIX}/share/man/man1/check_ssl_cert.1.gz
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
 	${INSTALL_SCRIPT} ${WRKSRC}/check_ssl_cert ${STAGEDIR}${PREFIX}/libexec/nagios/
-	${INSTALL_MAN} ${WRKSRC}/check_ssl_cert.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/check_ssl_cert.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>