git: ac0fb809d43c - main - japanese/kcc: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 12:29:47 UTC
The branch main has been updated by bofh:

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

commit ac0fb809d43c9066997cbc9ed56a1ece81578f41
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 11:33:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 12:29:23 +0000

    japanese/kcc: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 japanese/kcc/Makefile             | 3 ++-
 japanese/kcc/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/japanese/kcc/Makefile b/japanese/kcc/Makefile
index 59e911ccd3ce..e30aabef84f8 100644
--- a/japanese/kcc/Makefile
+++ b/japanese/kcc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	kcc
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	japanese
 MASTER_SITES=	ftp://ftp.sra.co.jp/pub/os/linux/JE/sources/base/
 DISTNAME=	${PORTNAME}
@@ -9,6 +10,6 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Kanji code conversion Filter
 
 INSTALL_TARGET=	install install.man
-PLIST_FILES=	bin/kcc man/ja/man1/kcc.1.gz
+PLIST_FILES=	bin/kcc share/man/ja/man1/kcc.1.gz
 
 .include <bsd.port.mk>
diff --git a/japanese/kcc/files/patch-Makefile b/japanese/kcc/files/patch-Makefile
index c8ea890d8a60..baee3e0f46fd 100644
--- a/japanese/kcc/files/patch-Makefile
+++ b/japanese/kcc/files/patch-Makefile
@@ -10,7 +10,7 @@
 -           CFLAGS = -O
 +          PREFIX?= /usr/local
 +          BINPATH = ${PREFIX}/bin
-+          MANPATH = ${PREFIX}/man
++          MANPATH = ${PREFIX}/share/man
 +          JMANDIR = ja
 +           CFLAGS?= -O