git: 7cd1a5abb146 - main - chinese/libpinyin: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 14:02:35 UTC
The branch main has been updated by bofh:

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

commit 7cd1a5abb1460e641c650700838edd841ff2bde4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 13:39:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 14:02:06 +0000

    chinese/libpinyin: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 chinese/libpinyin/Makefile  | 2 ++
 chinese/libpinyin/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index fdd56fa2e907..9e55e7bfb96e 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libpinyin
 PORTVERSION=	2.8.1
+PORTREVISION=	1
 CATEGORIES=	chinese textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
@@ -14,6 +15,7 @@ USES=		bdb compiler:c++11-lang gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	glib20
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 
 CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
diff --git a/chinese/libpinyin/pkg-plist b/chinese/libpinyin/pkg-plist
index d5edcc6572e8..f1c5c104c107 100644
--- a/chinese/libpinyin/pkg-plist
+++ b/chinese/libpinyin/pkg-plist
@@ -9,7 +9,7 @@ lib/libpinyin.so
 lib/libpinyin.so.%%ABIVER%%
 lib/libpinyin.so.%%ABIVER%%.0.0
 libdata/pkgconfig/libpinyin.pc
-man/man1/libpinyin.1.gz
+share/man/man1/libpinyin.1.gz
 %%DATADIR%%/data/addon_phrase_index.bin
 %%DATADIR%%/data/addon_pinyin_index.bin
 %%DATADIR%%/data/art.bin