git: 9c9de8e0ac76 - main - converters/iconv: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 22 Mar 2024 07:30:22 UTC
The branch main has been updated by yasu:

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

commit 9c9de8e0ac76b46b94cb8f5d403da0708bb76c21
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-22 07:27:39 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-22 07:29:47 +0000

    converters/iconv: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 converters/iconv/Makefile                 |  2 +-
 converters/iconv/files/patch-Makefile.inc | 11 +++++++++++
 converters/iconv/pkg-plist                |  8 ++++----
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index 509e1d68f194..d0bb4ba23494 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	iconv
 PORTVERSION=	2.0
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	converters
 MASTER_SITES=	LOCAL/bland
 
diff --git a/converters/iconv/files/patch-Makefile.inc b/converters/iconv/files/patch-Makefile.inc
new file mode 100644
index 000000000000..c2b07d817972
--- /dev/null
+++ b/converters/iconv/files/patch-Makefile.inc
@@ -0,0 +1,11 @@
+--- Makefile.inc.orig	2000-11-27 22:11:47 UTC
++++ Makefile.inc
+@@ -3,7 +3,7 @@ ICONV_BUILTIN_CHARSETS =	us-ascii utf-8 ucs-4-internal
+ .endif
+ 
+ .if defined(PREFIX)
+-MANDIR =	${PREFIX}/man/man
++MANDIR =	${PREFIX}/share/man/man
+ NOOBJ =
+ .else
+ PREFIX =	/usr
diff --git a/converters/iconv/pkg-plist b/converters/iconv/pkg-plist
index 157581488aed..8bf7c6ef3239 100644
--- a/converters/iconv/pkg-plist
+++ b/converters/iconv/pkg-plist
@@ -13,10 +13,10 @@ libexec/iconv/iso-10646-ucs-2.so
 libexec/iconv/iso-10646-ucs-4.so
 libexec/iconv/ucs-2-internal.so
 libexec/iconv/utf-16.so
-man/man1/biconv.1.gz
-man/man3/biconv.3.gz
-man/man3/biconv_close.3.gz
-man/man3/biconv_open.3.gz
+share/man/man1/biconv.1.gz
+share/man/man3/biconv.3.gz
+share/man/man3/biconv_close.3.gz
+share/man/man3/biconv_open.3.gz
 %%DATADIR%%/big5.cct
 %%DATADIR%%/charset.aliases
 %%DATADIR%%/cns11643-plane1.cct