git: 8573c02bfa31 - main - devel/libtool: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 26 Jan 2024 15:56:52 UTC
The branch main has been updated by bofh:

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

commit 8573c02bfa31624971a88362d6662d4f5158e454
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-26 14:25:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-26 15:56:31 +0000

    devel/libtool: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/libtool/Makefile  | 3 ++-
 devel/libtool/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile
index 5e56a6a2af83..77629fdaead2 100644
--- a/devel/libtool/Makefile
+++ b/devel/libtool/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libtool
-PORTREVISION=	1
+PORTREVISION=	2
 
 COMMENT=	Generic shared library support script
 WWW=		https://www.gnu.org/software/libtool/
@@ -13,6 +13,7 @@ BUILD_DEPENDS=	gm4:devel/m4
 RUN_DEPENDS=	gm4:devel/m4
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-ltdl-install
 TEST_TARGET=	check
 
diff --git a/devel/libtool/pkg-plist b/devel/libtool/pkg-plist
index e3ab7e6742af..00d72efe25c4 100644
--- a/devel/libtool/pkg-plist
+++ b/devel/libtool/pkg-plist
@@ -1,7 +1,7 @@
 bin/libtool
 bin/libtoolize
-man/man1/libtool.1.gz
-man/man1/libtoolize.1.gz
+share/man/man1/libtool.1.gz
+share/man/man1/libtoolize.1.gz
 share/aclocal/libtool.m4
 share/aclocal/ltargz.m4
 share/aclocal/ltdl.m4