git: 2c05d39f604e - main - net/gmid: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 08:19:15 UTC
The branch main has been updated by bofh:

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

commit 2c05d39f604e947ddda16203eecc8c903909dbf3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 07:54:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 08:18:39 +0000

    net/gmid: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/gmid/Makefile  |  4 ++++
 net/gmid/pkg-plist | 10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/net/gmid/Makefile b/net/gmid/Makefile
index 047a2d974341..77f762ac6788 100644
--- a/net/gmid/Makefile
+++ b/net/gmid/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gmid
 DISTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/omar-polo/${PORTNAME}/releases/download/${DISTVERSION}/ \
 		https://ftp.omarpolo.com/
@@ -25,6 +26,9 @@ GROUPS=		_gmid
 
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/man|/share/man|' ${WRKSRC}/configure
+
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/gmid.conf.sample \
 		${STAGEDIR}${PREFIX}/etc/
diff --git a/net/gmid/pkg-plist b/net/gmid/pkg-plist
index db4157f2d0cc..ff5022979e2e 100644
--- a/net/gmid/pkg-plist
+++ b/net/gmid/pkg-plist
@@ -3,8 +3,8 @@ bin/gemexp
 bin/gg
 bin/gmid
 bin/titan
-man/man1/gemexp.1.gz
-man/man1/gg.1.gz
-man/man1/titan.1.gz
-man/man5/gmid.conf.5.gz
-man/man8/gmid.8.gz
+share/man/man1/gemexp.1.gz
+share/man/man1/gg.1.gz
+share/man/man1/titan.1.gz
+share/man/man5/gmid.conf.5.gz
+share/man/man8/gmid.8.gz