Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 02:00:28 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89016: Update port: japanese/xshodou
Message-ID:  <20051115020028.13450dd5.tkato432@yahoo.com>
Resent-Message-ID: <200511141710.jAEHA9QS042912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89016
>Category:       ports
>Synopsis:       Update port: japanese/xshodou
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 17:10:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Replace USE_PERL with USE_REINPLACE
- Add WWW: line

Remove file:
files/patch-aa
files/patch-ab

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/japanese/xshodou/Makefile japanese/xshodou/Makefile
--- /usr/ports/japanese/xshodou/Makefile	Mon Nov 14 15:53:33 2005
+++ japanese/xshodou/Makefile	Tue Nov 15 00:35:14 2005
@@ -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 <bsd.port.mk>
diff -urN /usr/ports/japanese/xshodou/distinfo japanese/xshodou/distinfo
--- /usr/ports/japanese/xshodou/distinfo	Wed Mar 31 18:09:22 2004
+++ japanese/xshodou/distinfo	Mon Nov 14 12:39:11 2005
@@ -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 -urN /usr/ports/japanese/xshodou/files/patch-aa japanese/xshodou/files/patch-aa
--- /usr/ports/japanese/xshodou/files/patch-aa	Mon Jan 18 19:00:58 1999
+++ japanese/xshodou/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/japanese/xshodou/files/patch-ab japanese/xshodou/files/patch-ab
--- /usr/ports/japanese/xshodou/files/patch-ab	Fri Jun 23 22:44:02 2000
+++ japanese/xshodou/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/japanese/xshodou/pkg-descr japanese/xshodou/pkg-descr
--- /usr/ports/japanese/xshodou/pkg-descr	Mon Jan 18 19:00:58 1999
+++ japanese/xshodou/pkg-descr	Mon Nov 14 12:44:10 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115020028.13450dd5.tkato432>