git: 1ee98fdf1e77 - main - irc/pounce: Sanitize MANPREFIX

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

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

commit 1ee98fdf1e77c265a9af9e586e46a2b451e96742
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 02:04:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:26 +0000

    irc/pounce: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 irc/pounce/Makefile  | 4 ++--
 irc/pounce/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/irc/pounce/Makefile b/irc/pounce/Makefile
index d15f4a36c47c..573fee4b8786 100644
--- a/irc/pounce/Makefile
+++ b/irc/pounce/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pounce
 DISTVERSION=	3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	irc
 MASTER_SITES=	https://git.causal.agency/pounce/snapshot/
 
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		compiler:c11 localbase:ldflags ssl
 USE_RC_SUBR=	calico pounce
 
-MAKE_ENV+=	MANDIR=${MANPREFIX}/man
+MAKE_ENV+=	MANDIR=${PREFIX}/share/man
 CFLAGS+=	-D'OPENSSL_BIN=\"${OPENSSL_BIN}\"'
 
 .include <bsd.port.pre.mk>
diff --git a/irc/pounce/pkg-plist b/irc/pounce/pkg-plist
index a18f553886d9..3ad0c4c8da78 100644
--- a/irc/pounce/pkg-plist
+++ b/irc/pounce/pkg-plist
@@ -1,5 +1,5 @@
 bin/calico
 bin/pounce
-man/man1/calico.1.gz
-man/man1/pounce.1.gz
+share/man/man1/calico.1.gz
+share/man/man1/pounce.1.gz
 @dir /var/run/calico