git: 55000168b69e - main - textproc/libtranslate: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 08:06:41 UTC
The branch main has been updated by bofh:

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

commit 55000168b69ed257e8aaefcaea9f339ea6f06771
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:57:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:57:18 +0000

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

diff --git a/textproc/libtranslate/Makefile b/textproc/libtranslate/Makefile
index c773db74b561..b6bf9127dad2 100644
--- a/textproc/libtranslate/Makefile
+++ b/textproc/libtranslate/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libtranslate
 PORTVERSION=	0.99
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	textproc
 MASTER_SITES=	SAVANNAH
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} # May append to this
@@ -16,6 +16,7 @@ WWW=		https://www.nongnu.org/libtranslate/
 USES=		gettext gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	glib20 intlhack
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
diff --git a/textproc/libtranslate/pkg-plist b/textproc/libtranslate/pkg-plist
index fa2700e51039..069938973d71 100644
--- a/textproc/libtranslate/pkg-plist
+++ b/textproc/libtranslate/pkg-plist
@@ -12,8 +12,8 @@ lib/libtranslate.so.0.0.0
 %%GENERIC%%lib/libtranslate/modules/generic.so
 %%TALKFILTERS%%lib/libtranslate/modules/talkfilters.so
 libdata/pkgconfig/libtranslate.pc
-man/man1/translate.1.gz
-%%GENERIC%%man/man5/services.xml.5.gz
+share/man/man1/translate.1.gz
+%%GENERIC%%share/man/man5/services.xml.5.gz
 share/doc/libtranslate/TranslatePair.html
 share/doc/libtranslate/TranslateService.html
 share/doc/libtranslate/TranslateSession.html