diff --git a/japanese/xshodou/Makefile b/japanese/xshodou/Makefile index 1b90c242b172..f550365c8f7d 100644 --- a/japanese/xshodou/Makefile +++ b/japanese/xshodou/Makefile @@ -8,19 +8,25 @@ PORTNAME= xshodou PORTVERSION= 1.11 CATEGORIES= japanese tk80 -MASTER_SITES= http://wwwmiya.ee.kagu.tus.ac.jp/~sakai/ +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 +RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 -USE_PERL5_BUILD=yes USE_X_PREFIX= yes +USE_REINPLACE= yes + MAN1= xshodou.1 MANCOMPRESSED= yes +WISH= ${LOCALBASE}/bin/wish8.0 + post-patch: - @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/xshodou + @${REINPLACE_CMD} -e \ + 's|/usr/X11R6|${PREFIX}|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|/usr/local/bin/wish|${WISH}|g' ${WRKSRC}/xshodou .include diff --git a/japanese/xshodou/distinfo b/japanese/xshodou/distinfo index f9d2269c06b4..48b92bdef636 100644 --- a/japanese/xshodou/distinfo +++ b/japanese/xshodou/distinfo @@ -1,2 +1,3 @@ MD5 (xshodou-1.11.tar.gz) = ec2d6e74f535127ee72b3b6d6dbc423a +SHA256 (xshodou-1.11.tar.gz) = b3b9360ce660825cd62a500a7137f5385cc7de90e740be0da210e3dabba63602 SIZE (xshodou-1.11.tar.gz) = 34508 diff --git a/japanese/xshodou/files/patch-aa b/japanese/xshodou/files/patch-aa deleted file mode 100644 index 28940c290911..000000000000 --- a/japanese/xshodou/files/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ ---- Makefile~ Mon Jan 11 15:10:29 1999 -+++ Makefile Mon Jan 11 15:10:48 1999 -@@ -1,4 +1,4 @@ --XSHODOU_PREFIX = /usr/X11R6 -+XSHODOU_PREFIX = ${PREFIX} - XSHODOU_BIN = ${XSHODOU_PREFIX}/bin - XSHODOU_LIB = ${XSHODOU_PREFIX}/lib/X11/XShodou - XSHODOU_MAN = ${XSHODOU_PREFIX}/man/man1 diff --git a/japanese/xshodou/files/patch-ab b/japanese/xshodou/files/patch-ab deleted file mode 100644 index 46036e6bd264..000000000000 --- a/japanese/xshodou/files/patch-ab +++ /dev/null @@ -1,8 +0,0 @@ ---- xshodou~ Mon Jan 11 15:08:25 1999 -+++ xshodou Mon Jan 11 15:08:33 1999 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/wish -+#!%%LOCALBASE%%/bin/wish8.0 - # - # XShodou version 1.11 for X based on Tcl/Tk. - # Programed by Sakai Hiroaki. (E-Mail:sakai@miya.ee.kagu.sut.ac.jp) diff --git a/japanese/xshodou/pkg-descr b/japanese/xshodou/pkg-descr index 96470030102e..1a8bd901542e 100644 --- a/japanese/xshodou/pkg-descr +++ b/japanese/xshodou/pkg-descr @@ -1,3 +1,5 @@ XShodou is a Japanese shodou program for X based on Tcl/Tk. You can write Japanese traditional letters by using the mouse as if you used a hude - Japanese brush to write shodou letters. + +WWW: http://www.saturn.dti.ne.jp/~hsakai/myfreesoft/index.html