25fe59a33e
A big Thank You to the original contributors of these ports: * <intron@intron.ac> * Bo-Yi Wu <appleboy.tw@gmail.com> * Chih-Hsin Chang <chihhsin@cs.nctu.edu.tw> * Ching-Hong Wu <woju@freebsd.ntu.edu.tw> * David O'Brien (obrien@FreeBSD.org) * David O'Brien (obrien@cs.ucdavis.edu) * Eric L. Camachat <eric@camachat.org> * Foxfair Hu <foxfair@FreeBSD.org> * G. Adam Stanislav <adam@whizkidtech.net> * Gasol Wu <gasol.wu@gmail.com> * Gea-Suan Lin <gslin@gslin.org> * Henry Hu <henry.hu.sh@gmail.com> * Jie Gao <gaoj@cpsc.ucalgary.ca> * Jing-Tang Keith Jang <keith@FreeBSD.org> * Joe Horn <joehorn@gmail.com> * Ka Ho Ng <khng300@gmail.com> * Kuang-che Wu <kcwu@csie.org> * Michael C . Wu <keichii@iteration.net> * Michael C. Wu * Ming-I Hseh <PA@FreeBSD.Ntu.edu.TW> * Rong-En Fan <rafan@FreeBSD.org> * Satoshi TAOKA <taoka@FreeBSD.org> * Shell Hung <shell@shellhung.org> * Shen Chuan-Hsing * Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Yen-Ming Lee <leeym@FreeBSD.org> * Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw> * Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> * Yinghong Liu <relaxbsd@gmail.com> * Zhang Shu * Zhihao Yuan <lichray@gmail.com> * blubee <hello@blubee.me> * buganini@gmail.com * chinsan * chinsan <chinsan.tw@gmail.com> * clive * clsung * clsung@dragon2.net * gugod@gugod.org * hrs * ijliao * vanilla@ With hat: portmgr
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
PORTNAME= rime-luna-pinyin
|
|
DISTVERSION= g20210805
|
|
CATEGORIES= chinese textproc
|
|
|
|
MAINTAINER= khng@FreeBSD.org
|
|
COMMENT= Rime Luna Pinyin schema support
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= \
|
|
rime_deployer:chinese/librime \
|
|
zh-rime-essay>g0:chinese/rime-essay \
|
|
zh-rime-prelude>g0:chinese/rime-prelude
|
|
RUN_DEPENDS= zh-rime-prelude>g0:chinese/rime-prelude
|
|
|
|
USES= localbase
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rime
|
|
GH_TAGNAME= 6e677427764b542313858eaed22c2951d8ec22fe
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= AUTHORS README.md
|
|
|
|
PRELUDE_FILES= default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
|
|
ESSAY_FILES= essay.txt
|
|
SCHEMA_FILES= luna_pinyin_fluency.schema.yaml \
|
|
luna_pinyin_simp.schema.yaml \
|
|
luna_pinyin_tw.schema.yaml \
|
|
luna_pinyin.schema.yaml \
|
|
luna_quanpin.schema.yaml
|
|
MY_OUTDIR= ${WRKDIR}/out
|
|
|
|
do-build:
|
|
@${MKDIR} ${MY_OUTDIR}
|
|
@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
|
|
.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
|
|
@${CP} ${LOCALBASE}/share/rime-data/${i} ${MY_OUTDIR}
|
|
.endfor
|
|
.for i in ${SCHEMA_FILES}
|
|
rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/*.yaml ${STAGEDIR}${PREFIX}/share/rime-data
|
|
(cd ${MY_OUTDIR} && ${COPYTREE_SHARE} build ${STAGEDIR}${PREFIX}/share/rime-data)
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${STAGEDIR}/${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|