From 9c9de8e0ac76b46b94cb8f5d403da0708bb76c21 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Fri, 22 Mar 2024 16:27:39 +0900 Subject: [PATCH] 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(-) create mode 100644 converters/iconv/files/patch-Makefile.inc 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