Correct the default path to the SKK dictionary.

This commit is contained in:
MANTANI Nobutaka 2005-06-05 16:22:50 +00:00
parent d455621ea0
commit 3b03e54bec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136840
4 changed files with 26 additions and 2 deletions

View file

@ -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:

View file

@ -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")

View file

@ -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:

View file

@ -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")