git: 2ba6276788f0 - main - graphics/mscgen: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 12:58:53 UTC
The branch main has been updated by eduardo:

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

commit 2ba6276788f003fbcc9b67142456035eb9d20850
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 12:15:36 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 12:58:24 +0000

    graphics/mscgen: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/mscgen/Makefile  | 3 ++-
 graphics/mscgen/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/mscgen/Makefile b/graphics/mscgen/Makefile
index 2dbf5fd0103d..65c09ac47b10 100644
--- a/graphics/mscgen/Makefile
+++ b/graphics/mscgen/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mscgen
 PORTVERSION=	0.20
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.mcternan.me.uk/mscgen/software/ \
 		http://romain.blogreen.org/distfiles/
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 USES=		jpeg
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
diff --git a/graphics/mscgen/pkg-plist b/graphics/mscgen/pkg-plist
index 9bc2ad0b422e..b2443fdf7739 100644
--- a/graphics/mscgen/pkg-plist
+++ b/graphics/mscgen/pkg-plist
@@ -1,5 +1,4 @@
 bin/mscgen
-man/man1/mscgen.1.gz
 %%DOCSDIR%%/COPYING
 %%DOCSDIR%%/ChangeLog
 %%DOCSDIR%%/README
@@ -9,3 +8,4 @@ man/man1/mscgen.1.gz
 %%DOCSDIR%%/examples/msg_types.msc
 %%DOCSDIR%%/examples/simple_prog_desc.msc
 %%DOCSDIR%%/mscgen.lang
+share/man/man1/mscgen.1.gz