git: 9eb1bbbe39f2 - main - dns/libidn2: Impelled to share/man

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

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

commit 9eb1bbbe39f24802e8dbd45074b4c2f319d4d2c0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 20:40:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 21:51:19 +0000

    dns/libidn2: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 dns/libidn2/Makefile  |  2 ++
 dns/libidn2/pkg-plist | 40 ++++++++++++++++++++--------------------
 2 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/dns/libidn2/Makefile b/dns/libidn2/Makefile
index b084f948a449..3e57c035bb13 100644
--- a/dns/libidn2/Makefile
+++ b/dns/libidn2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libidn2
 PORTVERSION=	2.3.4
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	GNU/libidn
 
@@ -20,6 +21,7 @@ CONFIGURE_ARGS=	--disable-nls \
 		--with-libunistring-prefix=${LOCALBASE} \
 		ac_cv_prog_RONN=${TRUE}
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
diff --git a/dns/libidn2/pkg-plist b/dns/libidn2/pkg-plist
index 503614875ab3..dffe622fb869 100644
--- a/dns/libidn2/pkg-plist
+++ b/dns/libidn2/pkg-plist
@@ -5,26 +5,26 @@ lib/libidn2.so
 lib/libidn2.so.0
 lib/libidn2.so.0.3.8
 libdata/pkgconfig/libidn2.pc
-man/man1/idn2.1.gz
-man/man3/idn2_check_version.3.gz
-man/man3/idn2_free.3.gz
-man/man3/idn2_lookup_u8.3.gz
-man/man3/idn2_lookup_ul.3.gz
-man/man3/idn2_register_u8.3.gz
-man/man3/idn2_register_ul.3.gz
-man/man3/idn2_strerror.3.gz
-man/man3/idn2_strerror_name.3.gz
-man/man3/idn2_to_ascii_4i.3.gz
-man/man3/idn2_to_ascii_4i2.3.gz
-man/man3/idn2_to_ascii_4z.3.gz
-man/man3/idn2_to_ascii_8z.3.gz
-man/man3/idn2_to_ascii_lz.3.gz
-man/man3/idn2_to_unicode_44i.3.gz
-man/man3/idn2_to_unicode_4z4z.3.gz
-man/man3/idn2_to_unicode_8z4z.3.gz
-man/man3/idn2_to_unicode_8z8z.3.gz
-man/man3/idn2_to_unicode_8zlz.3.gz
-man/man3/idn2_to_unicode_lzlz.3.gz
+share/man/man1/idn2.1.gz
+share/man/man3/idn2_check_version.3.gz
+share/man/man3/idn2_free.3.gz
+share/man/man3/idn2_lookup_u8.3.gz
+share/man/man3/idn2_lookup_ul.3.gz
+share/man/man3/idn2_register_u8.3.gz
+share/man/man3/idn2_register_ul.3.gz
+share/man/man3/idn2_strerror.3.gz
+share/man/man3/idn2_strerror_name.3.gz
+share/man/man3/idn2_to_ascii_4i.3.gz
+share/man/man3/idn2_to_ascii_4i2.3.gz
+share/man/man3/idn2_to_ascii_4z.3.gz
+share/man/man3/idn2_to_ascii_8z.3.gz
+share/man/man3/idn2_to_ascii_lz.3.gz
+share/man/man3/idn2_to_unicode_44i.3.gz
+share/man/man3/idn2_to_unicode_4z4z.3.gz
+share/man/man3/idn2_to_unicode_8z4z.3.gz
+share/man/man3/idn2_to_unicode_8z8z.3.gz
+share/man/man3/idn2_to_unicode_8zlz.3.gz
+share/man/man3/idn2_to_unicode_lzlz.3.gz
 share/gtk-doc/html/libidn2/api-index-0.1.html
 share/gtk-doc/html/libidn2/api-index-2.0.0.html
 share/gtk-doc/html/libidn2/api-index-2.1.1.html