git: e20ed7844b04 - main - graphics/fig2sxd: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 13:03:41 UTC
The branch main has been updated by ehaupt:

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

commit e20ed7844b040fccce37e6b423f296eb7990a685
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 13:03:38 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 13:03:38 +0000

    graphics/fig2sxd: Move manpages to share/man
---
 graphics/fig2sxd/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/fig2sxd/Makefile b/graphics/fig2sxd/Makefile
index 562f8968d6d7..73f6609eb725 100644
--- a/graphics/fig2sxd/Makefile
+++ b/graphics/fig2sxd/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	fig2sxd
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.23
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-gedae2ef
 CATEGORIES=	graphics converters
 
@@ -13,11 +14,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		compiler gmake
 USE_GITLAB=	yes
-
 GL_ACCOUNT=	acfbuerger
 GL_TAGNAME=	77a24df7a2b1bea8a8a7e73690487a9e80a15d48
 
-PLIST_FILES=	bin/fig2sxd man/man1/fig2sxd.1.gz
+PLIST_FILES=	bin/fig2sxd \
+		share/man/man1/fig2sxd.1.gz
 
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_clang=	-Wno-c++11-narrowing
@@ -29,6 +30,6 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>