diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
commit | 40a33a607008465f53d5a6195b52da563743c5c1 (patch) | |
tree | 6746aa60a42ef4999ee47c9081c98f357098f148 /japanese | |
parent | - Use MASTER_SITE_SUNSITE to MASTER_SITES (diff) |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=29809
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xshodou/Makefile | 3 | ||||
-rw-r--r-- | japanese/xshodou/files/patch-ab | 2 |
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) |