git: 996e884a835a - main - mail/qmail-contrib: Moved man to share/man

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

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

commit 996e884a835ae64607a9263cc0dc1ecc53d11e00
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 17:50:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 18:20:54 +0000

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

diff --git a/mail/qmail-contrib/Makefile b/mail/qmail-contrib/Makefile
index aec1712efe9f..b8450fc0d3ae 100644
--- a/mail/qmail-contrib/Makefile
+++ b/mail/qmail-contrib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	qmail-contrib
 PORTVERSION=	0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	http://cr.yp.to/software/ \
 		GENTOO
@@ -40,12 +40,14 @@ post-patch:
 	@${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKFF}/conf-qmail
 	@${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKDF}/conf-qmail
 	@${REINPLACE_CMD} -e '/cat/d; s|doc/fastforward|${DOCSDIR}|g' \
+		-e 's|\"man|\"share/man|g' \
 		${WRKFF}/hier.c \
 		${WRKDF}/hier.c
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKFF}/conf-cc
 	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKFF}/conf-ld
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKDF}/conf-cc
 	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKDF}/conf-ld
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/man
 
 post-patch-DOCS-off:
 	@${REINPLACE_CMD} -E 's|^(.*${DOCSDIR})|// \1|g' \
diff --git a/mail/qmail-contrib/pkg-plist b/mail/qmail-contrib/pkg-plist
index 9c88663ebfa4..8f39c6a2de2d 100644
--- a/mail/qmail-contrib/pkg-plist
+++ b/mail/qmail-contrib/pkg-plist
@@ -6,11 +6,11 @@ bin/printforward
 bin/printmaillist
 bin/setforward
 bin/setmaillist
-man/man1/dot-forward.1.gz
-man/man1/fastforward.1.gz
-man/man1/newaliases.1.gz
-man/man1/newinclude.1.gz
-man/man1/printforward.1.gz
-man/man1/printmaillist.1.gz
-man/man1/setforward.1.gz
-man/man1/setmaillist.1.gz
+share/man/man1/dot-forward.1.gz
+share/man/man1/fastforward.1.gz
+share/man/man1/newaliases.1.gz
+share/man/man1/newinclude.1.gz
+share/man/man1/printforward.1.gz
+share/man/man1/printmaillist.1.gz
+share/man/man1/setforward.1.gz
+share/man/man1/setmaillist.1.gz