git: aff5e45af65d - main - devel/pth: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 13:03:50 UTC
The branch main has been updated by eduardo:

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

commit aff5e45af65d7a0c999ffaa9c45102ef7439ddd1
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-06 12:10:19 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-06 13:03:23 +0000

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

diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 0a527a0edfa1..233b8f0c5971 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pth
 PORTVERSION=	2.0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 PKGNAMESUFFIX?=	# empty
@@ -12,6 +12,7 @@ WWW=		https://www.gnu.org/software/pth/
 MAKE_JOBS_UNSAFE=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-optimize \
 		--enable-batch \
 		--includedir="${PREFIX}/include/pth" \
diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist
index db6567499276..2af79546f21d 100644
--- a/devel/pth/pkg-plist
+++ b/devel/pth/pkg-plist
@@ -11,7 +11,7 @@ lib/pth/libpth.so.20.0.27
 %%PTHREAD%%lib/pth/libpthread.so.20
 %%PTHREAD%%lib/pth/libpthread.so.20.0.27
 share/aclocal/pth.m4
-man/man1/pth-config.1.gz
-%%PTHREAD%%man/man1/pthread-config.1.gz
-man/man3/pth.3.gz
-%%PTHREAD%%man/man3/pthread.3.gz
+share/man/man1/pth-config.1.gz
+%%PTHREAD%%share/man/man1/pthread-config.1.gz
+share/man/man3/pth.3.gz
+%%PTHREAD%%share/man/man3/pthread.3.gz