git: d8a1c70d651c - main - devel/gettext-runtime: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 13:47:51 UTC
The branch main has been updated by bofh:

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

commit d8a1c70d651c135cbd270ff3277aa6e92e97008d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 11:07:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 13:47:38 +0000

    devel/gettext-runtime: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/gettext-runtime/Makefile  |  3 ++-
 devel/gettext-runtime/pkg-plist | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/devel/gettext-runtime/Makefile b/devel/gettext-runtime/Makefile
index 618340e867f9..e29cf796dff2 100644
--- a/devel/gettext-runtime/Makefile
+++ b/devel/gettext-runtime/Makefile
@@ -3,7 +3,7 @@
 # discretion.
 
 PORTNAME=	gettext-runtime
-PORTREVISION=	0
+PORTREVISION=	1
 
 COMMENT=	GNU gettext runtime libraries and programs
 WWW=		https://www.gnu.org/software/gettext/
@@ -22,6 +22,7 @@ CPE_PRODUCT=	gettext
 CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-csharp --disable-java --with-included-gettext \
 		ac_cv_lib_rt_sched_yield=no
 INSTALL_TARGET=	install-strip
diff --git a/devel/gettext-runtime/pkg-plist b/devel/gettext-runtime/pkg-plist
index 61dd79ee986a..06edfcb7eab4 100644
--- a/devel/gettext-runtime/pkg-plist
+++ b/devel/gettext-runtime/pkg-plist
@@ -12,18 +12,18 @@ lib/libintl.a
 lib/libintl.so
 lib/libintl.so.8
 lib/libintl.so.8.4.0
-man/man1/envsubst.1.gz
-man/man1/gettext.1.gz
-man/man1/ngettext.1.gz
-man/man3/bind_textdomain_codeset.3.gz
-man/man3/bindtextdomain.3.gz
-man/man3/dcgettext.3.gz
-man/man3/dcngettext.3.gz
-man/man3/dgettext.3.gz
-man/man3/dngettext.3.gz
-man/man3/gettext.3.gz
-man/man3/ngettext.3.gz
-man/man3/textdomain.3.gz
+share/man/man1/envsubst.1.gz
+share/man/man1/gettext.1.gz
+share/man/man1/ngettext.1.gz
+share/man/man3/bind_textdomain_codeset.3.gz
+share/man/man3/bindtextdomain.3.gz
+share/man/man3/dcgettext.3.gz
+share/man/man3/dcngettext.3.gz
+share/man/man3/dgettext.3.gz
+share/man/man3/dngettext.3.gz
+share/man/man3/gettext.3.gz
+share/man/man3/ngettext.3.gz
+share/man/man3/textdomain.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/bind_textdomain_codeset.3.html
 %%PORTDOCS%%%%DOCSDIR%%/bindtextdomain.3.html
 %%PORTDOCS%%%%DOCSDIR%%/csharpdoc/GNU_Gettext.html