Skip to content

Commit

Permalink
japanese/xshodou: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed Mar 14, 2024
1 parent 72571a2 commit 413f711
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions japanese/xshodou/Makefile
@@ -1,20 +1,23 @@
PORTNAME= xshodou
PORTVERSION= 1.11
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= japanese tk
MASTER_SITES= http://kozos.jp/myfreesoft/

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>
2 changes: 1 addition & 1 deletion 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

0 comments on commit 413f711

Please sign in to comment.