aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xshodou/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/xshodou/Makefile')
-rw-r--r--japanese/xshodou/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/japanese/xshodou/Makefile b/japanese/xshodou/Makefile
index 09ec881c0862..b836074bb455 100644
--- a/japanese/xshodou/Makefile
+++ b/japanese/xshodou/Makefile
@@ -7,25 +7,24 @@
PORTNAME= xshodou
PORTVERSION= 1.11
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese tk
MASTER_SITES= http://www.saturn.dti.ne.jp/~hsakai/myfreesoft/
MAINTAINER= ports@FreeBSD.org
COMMENT= A Japanese shodou program for X based on Tcl/Tk
-RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
+USE_TK_RUN= 82+
MAN1= xshodou.1
MANCOMPRESSED= yes
-WISH= ${LOCALBASE}/bin/wish8.0
USE_XORG= x11
+.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e \
- 's|/usr/X11R6|${PREFIX}|g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e \
- 's|/usr/local/bin/wish|${WISH}|g' ${WRKSRC}/xshodou
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${PREFIX}|g' \
+ -e 's|/usr/local/bin/wish|${WISH}|g' \
+ ${WRKSRC}/Makefile ${WRKSRC}/xshodou
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>