From 53dd22136e2de92de0c2806b133a136ed2c38a7b Mon Sep 17 00:00:00 2001 From: nobutaka Date: Sun, 5 Jun 2005 16:22:50 +0000 Subject: Correct the default path to the SKK dictionary. --- textproc/uim/Makefile | 2 +- textproc/uim/files/patch-scm:skk-custom.scm | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 textproc/uim/files/patch-scm:skk-custom.scm (limited to 'textproc/uim') diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile index 09113b9d803d..1ac04b402d26 100644 --- a/textproc/uim/Makefile +++ b/textproc/uim/Makefile @@ -63,7 +63,7 @@ PLIST_SUB+= CANNA="@comment " .endif post-patch: - ${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' ${WRKSRC}/scm/skk.scm ${WRKSRC}/scm/custom.scm + ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm .if !defined(NOPORTDOCS) post-install: diff --git a/textproc/uim/files/patch-scm:skk-custom.scm b/textproc/uim/files/patch-scm:skk-custom.scm new file mode 100644 index 000000000000..6de03484da18 --- /dev/null +++ b/textproc/uim/files/patch-scm:skk-custom.scm @@ -0,0 +1,12 @@ +--- scm/skk-custom.scm.orig Tue May 17 19:06:47 2005 ++++ scm/skk-custom.scm Tue May 17 19:13:48 2005 +@@ -168,8 +168,7 @@ + ;; dictionary + ;; + +-(define-custom 'skk-dic-file-name (string-append (sys-datadir) +- "/skk/SKK-JISYO.L") ++(define-custom 'skk-dic-file-name "%%LOCALBASE%%/share/skk/SKK-JISYO.L" + '(skk dictionary) + '(pathname) + (_ "Dictionary file") -- cgit