git: bf1b0eb9e286 - main - mail/greylite: Move man page to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sat, 30 Mar 2024 10:02:07 UTC
The branch main has been updated by yasu:

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

commit bf1b0eb9e286dc6a088fbf541bdf16448f3c5594
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-30 09:53:47 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-30 09:59:44 +0000

    mail/greylite: Move man page to share/man
    
    Approved by:    portmgr (blanket)
---
 mail/greylite/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/greylite/Makefile b/mail/greylite/Makefile
index 349102279743..bb56e3603ebb 100644
--- a/mail/greylite/Makefile
+++ b/mail/greylite/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	greylite
 PORTVERSION=	2.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	mail
 MASTER_SITES=	https://github.com/OlliL/greylite/releases/download/v${PORTVERSION}/
 
@@ -14,7 +14,7 @@ RUN_DEPENDS=	tcpserver:sysutils/ucspi-tcp
 
 USES=		sqlite tar:bzip2
 PLIST_FILES=	bin/greylite \
-		man/man8/greylite.8.gz
+		share/man/man8/greylite.8.gz
 DNSBLENV_PLIST_FILES=	bin/dnsblenv
 UCSPI2SOCKET_PLIST_FILES=	bin/ucspi2socket
 
@@ -45,6 +45,7 @@ PLIST_SUB+=	UCSPI2SOCKET="@comment "
 post-patch:
 	${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile
 	${REINPLACE_CMD} -e 's|PREFIX\?=.*|PREFIX=${STAGEDIR}${PREFIX}|g' \
+		-e 's,/man/,/share/man/,g' \
 		-e 's,logmsg.c logmsg.h ucspi2socket.c,logmsg.o ucspi2socket.c,' \
 		${WRKSRC}/Makefile