- Switch to bsd.tcl.mk

- Depend on tk 8.2 and higher
- Bump PORTREVISION
This commit is contained in:
Martin Matuska 2009-07-07 07:20:42 +00:00
parent de65271364
commit 76a2bce6be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237311

View file

@ -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>