diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2005-06-06 00:22:50 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2005-06-06 00:22:50 +0800 |
commit | 53dd22136e2de92de0c2806b133a136ed2c38a7b (patch) | |
tree | 9ecd4b5168db78b2760d5b6802ae11500ffd5b96 /textproc/uim | |
parent | eaf498627aad0419befab8d385132795564364c7 (diff) | |
download | freebsd-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 'textproc/uim')
-rw-r--r-- | textproc/uim/Makefile | 2 | ||||
-rw-r--r-- | textproc/uim/files/patch-scm:skk-custom.scm | 12 |
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") |