git: 413f7110e638 - main - japanese/xshodou: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 12:18:44 UTC
The branch main has been updated by naddy:

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

commit 413f7110e63865c40bcc3a0a662209308efae48b
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 11:46:48 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 12:18:38 +0000

    japanese/xshodou: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 japanese/xshodou/Makefile  | 9 ++++++---
 japanese/xshodou/pkg-plist | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/japanese/xshodou/Makefile b/japanese/xshodou/Makefile
index 48f8ef325803..f42e991fabaf 100644
--- a/japanese/xshodou/Makefile
+++ b/japanese/xshodou/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xshodou
 PORTVERSION=	1.11
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	japanese tk
 MASTER_SITES=	http://kozos.jp/myfreesoft/
 
@@ -8,13 +8,16 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Japanese shodou program for X based on Tcl/Tk
 WWW=		https://kozos.jp/myfreesoft/
 
-USES=		tk
+USES=		tk:run
+
+NO_BUILD=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/usr/X11R6|${PREFIX}|g ; \
 		 s|/usr/local/bin/wish|${WISH}|' ${WRKSRC}/xshodou
 	@${REINPLACE_CMD} -e \
-		's|/usr/X11R6|${STAGEDIR}${PREFIX}|g' ${WRKSRC}/Makefile
+		's|/usr/X11R6|${STAGEDIR}${PREFIX}|g ; \
+		 s|/man/man1|/share/man/man1|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
diff --git a/japanese/xshodou/pkg-plist b/japanese/xshodou/pkg-plist
index 9f45035d100e..2f71e8ff9127 100644
--- a/japanese/xshodou/pkg-plist
+++ b/japanese/xshodou/pkg-plist
@@ -1,6 +1,6 @@
 bin/xshodou
-man/man1/xshodou.1.gz
 lib/X11/XShodou/xshodou-title.xbm
 lib/X11/XShodou/COPYRIGHT
 lib/X11/XShodou/README
 lib/X11/XShodou/INSTALL
+share/man/man1/xshodou.1.gz