5b269d5e96
A new metaport that provides an essential set of configuration ports and a preset of IME schema ports for the Rime IME framework. This is a metaport which depends on the following essential ports: chinese/rime-essay chinese/rime-prelude This also depends on the following ports to form a preset of IME schemas available: chinese/rime-stroke chinese/rime-cangjie chinese/rime-bopomofo chinese/rime-luna-pinyin chinese/rime-terra-pinyin Besides the above essential + preset IME schema ports, chinese/rime-cantonese is also added as a IME schema port for Cantonese users. Submitted by: Ka Ho Ng <khng300@gmail.com> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27652
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# Created by: Ka Ho Ng <khng300@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rime-prelude
|
|
DISTVERSION= g20201212
|
|
CATEGORIES= chinese textproc
|
|
|
|
MAINTAINER= khng300@gmail.com
|
|
COMMENT= Essential files for building up your Rime configuration
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rime
|
|
GH_TAGNAME= 00a5b5a40b0e4419869ec3783744c75a8c86a5d7
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= AUTHORS README.md
|
|
|
|
PLIST_FILES= \
|
|
share/rime-data/default.yaml \
|
|
share/rime-data/key_bindings.yaml \
|
|
share/rime-data/punctuation.yaml \
|
|
share/rime-data/symbols.yaml
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/default.yaml ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/key_bindings.yaml ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/punctuation.yaml ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/symbols.yaml ${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>
|