aboutsummaryrefslogtreecommitdiff
path: root/japanese/xshodou
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
commit40a33a607008465f53d5a6195b52da563743c5c1 (patch)
tree6746aa60a42ef4999ee47c9081c98f357098f148 /japanese/xshodou
parent08436d780099b5b9549d412fe146fb0733c19412 (diff)
downloadports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz
ports-40a33a607008465f53d5a6195b52da563743c5c1.zip
Notes
Diffstat (limited to 'japanese/xshodou')
-rw-r--r--japanese/xshodou/Makefile3
-rw-r--r--japanese/xshodou/files/patch-ab2
2 files changed, 4 insertions, 1 deletions
diff --git a/japanese/xshodou/Makefile b/japanese/xshodou/Makefile
index da1b7ce8e2b1..7e8a626965f2 100644
--- a/japanese/xshodou/Makefile
+++ b/japanese/xshodou/Makefile
@@ -18,4 +18,7 @@ USE_X_PREFIX= yes
MAN1= xshodou.1
MANCOMPRESSED= yes
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/xshodou
+
.include <bsd.port.mk>
diff --git a/japanese/xshodou/files/patch-ab b/japanese/xshodou/files/patch-ab
index a527a6dc19af..46036e6bd264 100644
--- a/japanese/xshodou/files/patch-ab
+++ b/japanese/xshodou/files/patch-ab
@@ -2,7 +2,7 @@
+++ xshodou Mon Jan 11 15:08:33 1999
@@ -1,4 +1,4 @@
-#!/usr/local/bin/wish
-+#!/usr/local/bin/wish8.0
++#!%%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)