git: 4d91ecb9face - main - textproc/sgmlformat: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 15:40:43 UTC
The branch main has been updated by naddy:

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

commit 4d91ecb9facef1d3b87f25db110649852203b3e1
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 15:17:03 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 15:17:03 +0000

    textproc/sgmlformat: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/sgmlformat/Makefile  | 3 ++-
 textproc/sgmlformat/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index 1e480f7fd360..8be63bbc9797 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sgmlformat
 PORTVERSION=	1.7
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	textproc print
 MASTER_SITES=	LOCAL/kuriyama
 
@@ -9,6 +9,7 @@ COMMENT=	Generates groff and HTML from linuxdoc and docbook SGML documents
 
 USES=		perl5 uidfix
 USE_PERL5=	run
+MAKE_ARGS=	MANDIR="${PREFIX}/share/man/man"
 MAKE_ENV=	STAGEDIR=${STAGEDIR}
 
 # There are two ports that satisfy the nsgmls requirement.
diff --git a/textproc/sgmlformat/pkg-plist b/textproc/sgmlformat/pkg-plist
index cdddc6e9ccec..35b258a9114b 100644
--- a/textproc/sgmlformat/pkg-plist
+++ b/textproc/sgmlformat/pkg-plist
@@ -12,9 +12,9 @@ bin/roff.cmap
 bin/roff.sdata
 bin/sgmlfmt
 bin/transpec.dtd
-man/man1/instant.1.gz
-man/man1/sgmlfmt.1.gz
-man/man5/transpec.5.gz
+share/man/man1/instant.1.gz
+share/man/man1/sgmlfmt.1.gz
+share/man/man5/transpec.5.gz
 share/sgml/transpec/catalog
 share/sgml/transpec/docbook-html.ts
 share/sgml/transpec/docbook-roff.ts