aboutsummaryrefslogtreecommitdiff
path: root/textproc/uim
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-06-05 16:22:50 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-06-05 16:22:50 +0000
commit3b03e54bec4b70579c622d0bfbcc407fc6f01a81 (patch)
tree0e460a7b6002824781234a2a976dc3b4514cc72e /textproc/uim
parentd455621ea075d88f9cf8f476d1f46701ea0d342b (diff)
downloadports-3b03e54bec4b70579c622d0bfbcc407fc6f01a81.tar.gz
ports-3b03e54bec4b70579c622d0bfbcc407fc6f01a81.zip
Correct the default path to the SKK dictionary.
Notes
Notes: svn path=/head/; revision=136840
Diffstat (limited to 'textproc/uim')
-rw-r--r--textproc/uim/Makefile2
-rw-r--r--textproc/uim/files/patch-scm:skk-custom.scm12
2 files changed, 13 insertions, 1 deletions
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")