chinese/rime-*: Use CP instead of RLN for data files from localbase
For data files from localbase (in ${LOCALBASE}/share/rime-data), copy them to the build directory instead of symbolically linking them. Submitted by: Ka Ho Ng <khng300@gmail.com> Approved by: lwhsu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27716
This commit is contained in:
parent
784693f56c
commit
5252e4c5ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559588
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-bopomofo
|
||||
DISTVERSION= g20190120
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -45,7 +46,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES} ${TERRA_PINYIN_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-cangjie
|
||||
DISTVERSION= g20201030
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -38,7 +39,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-cantonese
|
||||
DISTVERSION= g20201212
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -43,7 +44,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-luna-pinyin
|
||||
DISTVERSION= g20201105
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -43,7 +44,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-stroke
|
||||
DISTVERSION= g20191221
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -39,7 +40,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rime-terra-pinyin
|
||||
DISTVERSION= g20201018
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese textproc
|
||||
|
||||
MAINTAINER= khng300@gmail.com
|
||||
@ -39,7 +40,7 @@ do-build:
|
||||
@${MKDIR} ${MY_OUTDIR}
|
||||
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
||||
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
||||
@${RLN} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
||||
.endfor
|
||||
.for i in ${SCHEMA_FILES}
|
||||
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user