git: 5a25cc32fe64 - main - ports-mgmt/portupdate-scan: Sanitize MANPREFIX

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

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

commit 5a25cc32fe64572a0d891f9bf29aedd366d6eb16
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 21:35:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 21:42:28 +0000

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

diff --git a/ports-mgmt/portupdate-scan/Makefile b/ports-mgmt/portupdate-scan/Makefile
index 077a3028beea..6a2ed236b999 100644
--- a/ports-mgmt/portupdate-scan/Makefile
+++ b/ports-mgmt/portupdate-scan/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	portupdate-scan
 PORTVERSION=	0.4
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
@@ -13,7 +14,7 @@ NO_BUILD=	yes
 USES=		perl5 shebangfix
 USE_PERL5=	run
 
-PLIST_FILES=	sbin/portupdate-scan man/man8/portupdate-scan.8.gz
+PLIST_FILES=	sbin/portupdate-scan share/man/man8/portupdate-scan.8.gz
 SHEBANG_FILES=	portupdate-scan
 SRC=		${.CURDIR}/src
 
@@ -23,6 +24,6 @@ do-extract:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
 
 .include <bsd.port.mk>