git: 8520820855d3 - main - net/mpd5: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:58 UTC
The branch main has been updated by vvd:

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

commit 8520820855d3f892a1ea95309825a82b21a09f22
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 23:23:32 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:49 +0000

    net/mpd5: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/mpd5/Makefile                 |  4 ++--
 net/mpd5/files/patch-doc_Makefile | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index 0c63072d8abc..705406f0ba6a 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mpd
 DISTVERSION=	5.9
-PORTREVISION=	17
+PORTREVISION=	18
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
 PKGNAMESUFFIX=	5
@@ -59,7 +59,7 @@ PLIST_FILES+=	${CONFSUF:C|(.*)|"@sample etc/mpd5/mpd.\1.sample"|} \
 		sbin/mpd5
 
 .if !defined(WITHOUT_MAN)
-PLIST_FILES+=	man/man8/mpd5.8.gz
+PLIST_FILES+=	share/man/man8/mpd5.8.gz
 .endif
 
 .include <bsd.port.mk>
diff --git a/net/mpd5/files/patch-doc_Makefile b/net/mpd5/files/patch-doc_Makefile
new file mode 100644
index 000000000000..fe713858648c
--- /dev/null
+++ b/net/mpd5/files/patch-doc_Makefile
@@ -0,0 +1,11 @@
+--- doc/Makefile.orig	2020-09-06 14:33:02 UTC
++++ doc/Makefile
+@@ -13,7 +13,7 @@ MPD_DOC_FILES+=	mpd*.html
+ MPD_DOC_FILES+=	mpd.ps
+ 
+ MAN8=		mpd5.8
+-MANDIR=		${PREFIX}/man/man
++MANDIR=		${PREFIX}/share/man/man
+ 
+ depend:
+