git: 23280220bbb0 - main - sysutils/detox: Move man pages to share/man

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 09:31:18 UTC
The branch main has been updated by krion:

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

commit 23280220bbb0f689fa67b1131c3c1793495f9d13
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2024-03-03 09:31:04 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2024-03-03 09:31:04 +0000

    sysutils/detox: Move man pages to share/man
---
 sysutils/detox/Makefile  | 2 ++
 sysutils/detox/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile
index 4d595af9407d..401dc9790fe0 100644
--- a/sysutils/detox/Makefile
+++ b/sysutils/detox/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	detox
 PORTVERSION=	1.4.5
+PORTREVISION=	1
 DISTVERSIONPREFIX=v
 CATEGORIES=	sysutils
 
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		autoreconf gmake tar:bzip2
 USE_GITHUB=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 GH_ACCOUNT=	dharple
 
 OPTIONS_DEFINE=	DOCS
diff --git a/sysutils/detox/pkg-plist b/sysutils/detox/pkg-plist
index 66099428654c..2008052a1701 100644
--- a/sysutils/detox/pkg-plist
+++ b/sysutils/detox/pkg-plist
@@ -5,7 +5,7 @@ bin/inline-detox
 @sample %%DATADIR%%/safe.tbl.sample
 @sample %%DATADIR%%/unicode.tbl.sample
 %%PORTDOCS%%%%DOCSDIR%%/README.md
-man/man1/detox.1.gz
-man/man1/inline-detox.1.gz
-man/man5/detox.tbl.5.gz
-man/man5/detoxrc.5.gz
+share/man/man1/detox.1.gz
+share/man/man1/inline-detox.1.gz
+share/man/man5/detox.tbl.5.gz
+share/man/man5/detoxrc.5.gz