git: 478abf1798d4 - main - mail/qmail-rblchk: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 18:21:15 UTC
The branch main has been updated by bofh:

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

commit 478abf1798d4b99f74e40f332101d6cf73dc03cf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 17:54:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 18:20:54 +0000

    mail/qmail-rblchk: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 mail/qmail-rblchk/Makefile  | 6 ++++--
 mail/qmail-rblchk/pkg-plist | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/mail/qmail-rblchk/Makefile b/mail/qmail-rblchk/Makefile
index 646bc565aee1..3b1d73eec984 100644
--- a/mail/qmail-rblchk/Makefile
+++ b/mail/qmail-rblchk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	qmail-rblchk
 PORTVERSION=	2.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.morettoni.net/qmail/ \
 		LOCAL/ehaupt
@@ -29,7 +29,9 @@ CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c
+	@${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' \
+		-e 's|\"man|\"share/man|g' \
+		${WRKSRC}/hier.c
 
 do-configure:
 	${PRINTF}   "${STAGEDIR}${PREFIX}\n\n.../bin.\n"	> ${WRKSRC}/conf-home
diff --git a/mail/qmail-rblchk/pkg-plist b/mail/qmail-rblchk/pkg-plist
index 9dc5a74e3605..fa5c28265a7c 100644
--- a/mail/qmail-rblchk/pkg-plist
+++ b/mail/qmail-rblchk/pkg-plist
@@ -1,7 +1,7 @@
 bin/getsenderip
 bin/qmail-rblchk
-man/man1/getsenderip.1.gz
-man/man1/qmail-rblchk.1.gz
+share/man/man1/getsenderip.1.gz
+share/man/man1/qmail-rblchk.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot-qmail-storeip
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rbllist.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spam-report.sh