aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-06-06 00:22:50 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-06-06 00:22:50 +0800
commit53dd22136e2de92de0c2806b133a136ed2c38a7b (patch)
tree9ecd4b5168db78b2760d5b6802ae11500ffd5b96 /japanese
parenteaf498627aad0419befab8d385132795564364c7 (diff)
downloadfreebsd-ports-gnome-53dd22136e2de92de0c2806b133a136ed2c38a7b.tar.gz
freebsd-ports-gnome-53dd22136e2de92de0c2806b133a136ed2c38a7b.tar.zst
freebsd-ports-gnome-53dd22136e2de92de0c2806b133a136ed2c38a7b.zip
Correct the default path to the SKK dictionary.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/uim/Makefile2
-rw-r--r--japanese/uim/files/patch-scm:skk-custom.scm12
2 files changed, 13 insertions, 1 deletions
diff --git a/japanese/uim/Makefile b/japanese/uim/Makefile
index 09113b9d803d..1ac04b402d26 100644
--- a/japanese/uim/Makefile
+++ b/japanese/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/japanese/uim/files/patch-scm:skk-custom.scm b/japanese/uim/files/patch-scm:skk-custom.scm
new file mode 100644
index 000000000000..6de03484da18
--- /dev/null
+++ b/japanese/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")