mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Correct the default path to the SKK dictionary.
This commit is contained in:
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
|
@ -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:
|
||||
|
|
12
japanese/uim/files/patch-scm:skk-custom.scm
Normal file
12
japanese/uim/files/patch-scm:skk-custom.scm
Normal 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")
|
|
@ -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:
|
||||
|
|
12
textproc/uim/files/patch-scm:skk-custom.scm
Normal file
12
textproc/uim/files/patch-scm:skk-custom.scm
Normal 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")
|
Loading…
Add table
Reference in a new issue