git: e452486f63dd - main - misc/ansiweather: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 00:29:11 UTC
The branch main has been updated by bofh:

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

commit e452486f63ddafd67db8252f623ca68fb7820c6d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:10:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:28:59 +0000

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

diff --git a/misc/ansiweather/Makefile b/misc/ansiweather/Makefile
index 56ddcfc6657b..6a3d9f68bd14 100644
--- a/misc/ansiweather/Makefile
+++ b/misc/ansiweather/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ansiweather
 PORTVERSION=	1.19.0
+PORTREVISION=	1
 CATEGORIES=	misc
 
 MAINTAINER=	dbaio@FreeBSD.org
@@ -28,7 +29,7 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/ansiweather.plugin.zsh ${STAGEDIR}${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/misc/ansiweather/pkg-plist b/misc/ansiweather/pkg-plist
index 2c1ef82e9d67..736daf179d92 100644
--- a/misc/ansiweather/pkg-plist
+++ b/misc/ansiweather/pkg-plist
@@ -1,5 +1,5 @@
 bin/ansiweather
-man/man1/ansiweather.1.gz
+share/man/man1/ansiweather.1.gz
 %%DATADIR%%/ansiweather.plugin.zsh
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/README.md