Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 10:47:28 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558280 - in head/chinese: . rime-bopomofo rime-cangjie rime-cantonese rime-data rime-essay rime-luna-pinyin rime-prelude rime-stroke rime-terra-pinyin
Message-ID:  <202012171047.0BHAlSeA033899@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Thu Dec 17 10:47:28 2020
New Revision: 558280
URL: https://svnweb.freebsd.org/changeset/ports/558280

Log:
  Add chinese/rime-data and its dependencies
  
  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

Added:
  head/chinese/rime-bopomofo/
  head/chinese/rime-bopomofo/Makefile   (contents, props changed)
  head/chinese/rime-bopomofo/distinfo   (contents, props changed)
  head/chinese/rime-bopomofo/pkg-descr   (contents, props changed)
  head/chinese/rime-bopomofo/pkg-plist   (contents, props changed)
  head/chinese/rime-cangjie/
  head/chinese/rime-cangjie/Makefile   (contents, props changed)
  head/chinese/rime-cangjie/distinfo   (contents, props changed)
  head/chinese/rime-cangjie/pkg-descr   (contents, props changed)
  head/chinese/rime-cangjie/pkg-plist   (contents, props changed)
  head/chinese/rime-cantonese/
  head/chinese/rime-cantonese/Makefile   (contents, props changed)
  head/chinese/rime-cantonese/distinfo   (contents, props changed)
  head/chinese/rime-cantonese/pkg-descr   (contents, props changed)
  head/chinese/rime-cantonese/pkg-plist   (contents, props changed)
  head/chinese/rime-data/
  head/chinese/rime-data/Makefile   (contents, props changed)
  head/chinese/rime-data/pkg-descr   (contents, props changed)
  head/chinese/rime-essay/
  head/chinese/rime-essay/Makefile   (contents, props changed)
  head/chinese/rime-essay/distinfo   (contents, props changed)
  head/chinese/rime-essay/pkg-descr   (contents, props changed)
  head/chinese/rime-luna-pinyin/
  head/chinese/rime-luna-pinyin/Makefile   (contents, props changed)
  head/chinese/rime-luna-pinyin/distinfo   (contents, props changed)
  head/chinese/rime-luna-pinyin/pkg-descr   (contents, props changed)
  head/chinese/rime-luna-pinyin/pkg-plist   (contents, props changed)
  head/chinese/rime-prelude/
  head/chinese/rime-prelude/Makefile   (contents, props changed)
  head/chinese/rime-prelude/distinfo   (contents, props changed)
  head/chinese/rime-prelude/pkg-descr   (contents, props changed)
  head/chinese/rime-stroke/
  head/chinese/rime-stroke/Makefile   (contents, props changed)
  head/chinese/rime-stroke/distinfo   (contents, props changed)
  head/chinese/rime-stroke/pkg-descr   (contents, props changed)
  head/chinese/rime-stroke/pkg-plist   (contents, props changed)
  head/chinese/rime-terra-pinyin/
  head/chinese/rime-terra-pinyin/Makefile   (contents, props changed)
  head/chinese/rime-terra-pinyin/distinfo   (contents, props changed)
  head/chinese/rime-terra-pinyin/pkg-descr   (contents, props changed)
  head/chinese/rime-terra-pinyin/pkg-plist   (contents, props changed)
Modified:
  head/chinese/Makefile

Modified: head/chinese/Makefile
==============================================================================
--- head/chinese/Makefile	Thu Dec 17 10:42:25 2020	(r558279)
+++ head/chinese/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -92,6 +92,15 @@
     SUBDIR += pycangjie
     SUBDIR += pyzy
     SUBDIR += qe
+    SUBDIR += rime-bopomofo
+    SUBDIR += rime-cangjie
+    SUBDIR += rime-cantonese
+    SUBDIR += rime-data
+    SUBDIR += rime-essay
+    SUBDIR += rime-luna-pinyin
+    SUBDIR += rime-prelude
+    SUBDIR += rime-stroke
+    SUBDIR += rime-terra-pinyin
     SUBDIR += scim-fcitx
     SUBDIR += scim-pinyin
     SUBDIR += scim-tables

Added: head/chinese/rime-bopomofo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-bopomofo/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,66 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-bopomofo
+DISTVERSION=	g20190120
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime Chewing 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 \
+		zh-rime-terra-pinyin>g0:chinese/rime-terra-pinyin
+RUN_DEPENDS=	\
+		zh-rime-prelude>g0:chinese/rime-prelude	\
+		zh-rime-terra-pinyin>g0:chinese/rime-terra-pinyin
+
+USES=		localbase
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_SUB=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rime
+GH_TAGNAME=	ed25098386f5efd3d70b08650f0d1b70c41c11a3
+
+NO_ARCH=	yes
+
+PORTDOCS=	AUTHORS README.md
+
+PRELUDE_FILES=	default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
+ESSAY_FILES=	essay.txt
+TERRA_PINYIN_FILES=	terra_pinyin.dict.yaml
+SCHEMA_FILES=	bopomofo.schema.yaml	\
+		bopomofo_express.schema.yaml	\
+		bopomofo_tw.schema.yaml
+MY_OUTDIR=	${WRKDIR}/out
+
+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}
+.endfor
+.for i in ${SCHEMA_FILES}
+	rime_deployer --compile ${WRKSRC}/${i} ${MY_OUTDIR}
+.endfor
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data/build
+	${INSTALL_DATA} ${WRKSRC}/*.yaml ${STAGEDIR}${PREFIX}/share/rime-data
+	${INSTALL_DATA} ${MY_OUTDIR}/build/bopomofo*	\
+		${STAGEDIR}${PREFIX}/share/rime-data/build
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/AUTHORS ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/chinese/rime-bopomofo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-bopomofo/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608102657
+SHA256 (rime-rime-bopomofo-g20190120-ed25098386f5efd3d70b08650f0d1b70c41c11a3_GH0.tar.gz) = 0b2a0496cf2a291d8e4aa9bf467fd507f6674378e5951c9e2b6470cbf7edaed7
+SIZE (rime-rime-bopomofo-g20190120-ed25098386f5efd3d70b08650f0d1b70c41c11a3_GH0.tar.gz) = 5835

Added: head/chinese/rime-bopomofo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-bopomofo/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Chewing schema for Mandarin input support.
+
+WWW: https://github.com/rime/rime-bopomofo

Added: head/chinese/rime-bopomofo/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-bopomofo/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,12 @@
+share/rime-data/bopomofo.schema.yaml
+share/rime-data/bopomofo_express.schema.yaml
+share/rime-data/bopomofo_tw.schema.yaml
+share/rime-data/build/bopomofo.prism.bin
+share/rime-data/build/bopomofo.prism.txt
+share/rime-data/build/bopomofo.schema.yaml
+share/rime-data/build/bopomofo_express.prism.bin
+share/rime-data/build/bopomofo_express.prism.txt
+share/rime-data/build/bopomofo_express.schema.yaml
+share/rime-data/build/bopomofo_tw.prism.bin
+share/rime-data/build/bopomofo_tw.prism.txt
+share/rime-data/build/bopomofo_tw.schema.yaml

Added: head/chinese/rime-cangjie/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cangjie/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,57 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-cangjie
+DISTVERSION=	g20201030
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime Cangjie v5 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=	d0f6f521ec049166ada29085434126be175f6439
+
+NO_ARCH=	yes
+
+PORTDOCS=	AUTHORS README.md
+
+PRELUDE_FILES=	default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
+ESSAY_FILES=	essay.txt
+SCHEMA_FILES=	cangjie5.schema.yaml cangjie5_express.schema.yaml
+MY_OUTDIR=	${WRKDIR}/out
+
+do-build:
+	@${MKDIR} ${MY_OUTDIR}
+	@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
+.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
+	@${RLN} ${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>

Added: head/chinese/rime-cangjie/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cangjie/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608103989
+SHA256 (rime-rime-cangjie-g20201030-d0f6f521ec049166ada29085434126be175f6439_GH0.tar.gz) = 50803c76b1865690cf692ce98335c8a1139f0f5fa2e553875b293939f05a02b4
+SIZE (rime-rime-cangjie-g20201030-d0f6f521ec049166ada29085434126be175f6439_GH0.tar.gz) = 392830

Added: head/chinese/rime-cangjie/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cangjie/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Cangjie v5 schema input support.
+
+WWW: https://github.com/rime/rime-cangjie

Added: head/chinese/rime-cangjie/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cangjie/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,10 @@
+share/rime-data/build/cangjie5.prism.bin
+share/rime-data/build/cangjie5.reverse.bin
+share/rime-data/build/cangjie5.schema.yaml
+share/rime-data/build/cangjie5.table.bin
+share/rime-data/build/cangjie5.table.txt
+share/rime-data/build/cangjie5_express.prism.bin
+share/rime-data/build/cangjie5_express.schema.yaml
+share/rime-data/cangjie5.dict.yaml
+share/rime-data/cangjie5.schema.yaml
+share/rime-data/cangjie5_express.schema.yaml

Added: head/chinese/rime-cantonese/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cantonese/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,67 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-cantonese
+DISTVERSION=	g20201212
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime Cantonese (Jyutping) schema support
+
+LICENSE=		CC-BY-4.0 ODbL
+LICENSE_COMB=		multi
+LICENSE_NAME_ODbL=	Open Database License
+LICENSE_FILE_CC-BY-4.0=	${WRKSRC}/LICENSE-CC-BY
+LICENSE_FILE_ODbL=	${WRKSRC}/LICENSE-ODbL
+LICENSE_PERMS_ODbL=	dist-mirror dist-sell auto-accept
+
+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=	99785a30d1f3bffef4142bbc7b73435a73a16cb1
+
+NO_ARCH=	yes
+
+PORTDOCS=	README.md README-cmn.md README-en.md demo/*
+
+PRELUDE_FILES=	default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
+ESSAY_FILES=	essay.txt
+SCHEMA_FILES=	jyut6ping3.schema.yaml jyut6ping3_ipa.schema.yaml
+MY_OUTDIR=	${WRKDIR}/out
+
+do-build:
+	@${MKDIR} ${MY_OUTDIR}
+	@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
+.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
+	@${RLN} ${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
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data/opencc
+	${INSTALL_DATA} ${WRKSRC}/opencc/* ${STAGEDIR}${PREFIX}/share/rime-data/opencc
+	${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}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/demo
+	${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${DOCSDIR}/demo
+	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README-cmn.md ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README-en.md ${STAGEDIR}/${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/chinese/rime-cantonese/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cantonese/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608031935
+SHA256 (rime-rime-cantonese-g20201212-99785a30d1f3bffef4142bbc7b73435a73a16cb1_GH0.tar.gz) = 0a34a829c2cf2379259cfa9fec5bea57697049aee9e5f051fb94a428d8804cc1
+SIZE (rime-rime-cantonese-g20201212-99785a30d1f3bffef4142bbc7b73435a73a16cb1_GH0.tar.gz) = 3585583

Added: head/chinese/rime-cantonese/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cantonese/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Jyutping schema for Cantonese input support.
+
+WWW: https://github.com/rime/rime-cantonese

Added: head/chinese/rime-cantonese/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-cantonese/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,18 @@
+share/rime-data/build/jyut6ping3.prism.bin
+share/rime-data/build/jyut6ping3.prism.txt
+share/rime-data/build/jyut6ping3.reverse.bin
+share/rime-data/build/jyut6ping3.schema.yaml
+share/rime-data/build/jyut6ping3.table.bin
+share/rime-data/build/jyut6ping3.table.txt
+share/rime-data/build/jyut6ping3_ipa.prism.bin
+share/rime-data/build/jyut6ping3_ipa.prism.txt
+share/rime-data/build/jyut6ping3_ipa.schema.yaml
+share/rime-data/jyut6ping3.dict.yaml
+share/rime-data/jyut6ping3.lettered.dict.yaml
+share/rime-data/jyut6ping3.maps.dict.yaml
+share/rime-data/jyut6ping3.phrase.dict.yaml
+share/rime-data/jyut6ping3.schema.yaml
+share/rime-data/jyut6ping3_ipa.schema.yaml
+share/rime-data/opencc/HKVariantsFull.txt
+share/rime-data/opencc/t2hkf.json
+share/rime-data/symbols_cantonese.yaml

Added: head/chinese/rime-data/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-data/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,21 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-data
+PORTVERSION=	g20201216
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime data files preset
+
+LICENSE=	LGPL3
+
+RUN_DEPENDS=	\
+	${LOCALBASE}/share/rime-data/luna_pinyin.schema.yaml:chinese/rime-luna-pinyin	\
+	${LOCALBASE}/share/rime-data/bopomofo.schema.yaml:chinese/rime-bopomofo	\
+	${LOCALBASE}/share/rime-data/cangjie5.schema.yaml:chinese/rime-cangjie	\
+	${LOCALBASE}/share/rime-data/stroke.schema.yaml:chinese/rime-stroke
+
+USES=		localbase metaport
+
+.include <bsd.port.mk>

Added: head/chinese/rime-data/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-data/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,5 @@
+Rime data files.  This is a metaport that provides an essential set of
+configuration ports and a preset of IME schema ports for the Rime IME
+framework.
+
+WWW: https://github.com/rime/plum

Added: head/chinese/rime-essay/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-essay/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,37 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-essay
+DISTVERSION=	g20201004
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Essay - the shared vocabulary and language model for Rime
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+OPTIONS_DEFINE=		DOCS
+OPTIONS_SUB=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rime
+GH_TAGNAME=	964ff5c5854a4452256891a4fe3b333592f3d68b
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PORTDOCS=	AUTHORS README.md
+
+PLIST_FILES=	share/rime-data/essay.txt
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data
+	${INSTALL_DATA} ${WRKSRC}/essay.txt ${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>

Added: head/chinese/rime-essay/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-essay/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608060143
+SHA256 (rime-rime-essay-g20201004-964ff5c5854a4452256891a4fe3b333592f3d68b_GH0.tar.gz) = 1bbdc62cbaac5ec03caa2d3bfacc304b0ea07f3bba1cb6f8ccf22ff879075568
+SIZE (rime-rime-essay-g20201004-964ff5c5854a4452256891a4fe3b333592f3d68b_GH0.tar.gz) = 1771557

Added: head/chinese/rime-essay/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-essay/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Shared vocabulary and language model for Rime.
+
+WWW: https://github.com/rime/rime-essay

Added: head/chinese/rime-luna-pinyin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-luna-pinyin/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,62 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-luna-pinyin
+DISTVERSION=	g20201105
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+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=	3e03d65a1a9162871ee521d5d4846661e59298e0
+
+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}
+	@${RLN} ${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>

Added: head/chinese/rime-luna-pinyin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-luna-pinyin/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608102480
+SHA256 (rime-rime-luna-pinyin-g20201105-3e03d65a1a9162871ee521d5d4846661e59298e0_GH0.tar.gz) = 28ceb79c288c17c8c861174ba0180766033105fea58f564537f0106a79632829
+SIZE (rime-rime-luna-pinyin-g20201105-3e03d65a1a9162871ee521d5d4846661e59298e0_GH0.tar.gz) = 393707

Added: head/chinese/rime-luna-pinyin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-luna-pinyin/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Luna Pinyin schema for Mandarin input support.
+
+WWW: https://github.com/rime/rime-luna-pinyin

Added: head/chinese/rime-luna-pinyin/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-luna-pinyin/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,24 @@
+share/rime-data/build/luna_pinyin.prism.bin
+share/rime-data/build/luna_pinyin.prism.txt
+share/rime-data/build/luna_pinyin.reverse.bin
+share/rime-data/build/luna_pinyin.schema.yaml
+share/rime-data/build/luna_pinyin.table.bin
+share/rime-data/build/luna_pinyin.table.txt
+share/rime-data/build/luna_pinyin_fluency.prism.bin
+share/rime-data/build/luna_pinyin_fluency.prism.txt
+share/rime-data/build/luna_pinyin_fluency.schema.yaml
+share/rime-data/build/luna_pinyin_simp.prism.bin
+share/rime-data/build/luna_pinyin_simp.prism.txt
+share/rime-data/build/luna_pinyin_simp.schema.yaml
+share/rime-data/build/luna_pinyin_tw.prism.bin
+share/rime-data/build/luna_pinyin_tw.prism.txt
+share/rime-data/build/luna_pinyin_tw.schema.yaml
+share/rime-data/build/luna_quanpin.prism.bin
+share/rime-data/build/luna_quanpin.prism.txt
+share/rime-data/build/luna_quanpin.schema.yaml
+share/rime-data/luna_pinyin.dict.yaml
+share/rime-data/luna_pinyin.schema.yaml
+share/rime-data/luna_pinyin_fluency.schema.yaml
+share/rime-data/luna_pinyin_simp.schema.yaml
+share/rime-data/luna_pinyin_tw.schema.yaml
+share/rime-data/luna_quanpin.schema.yaml

Added: head/chinese/rime-prelude/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-prelude/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,44 @@
+# 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>

Added: head/chinese/rime-prelude/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-prelude/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608026020
+SHA256 (rime-rime-prelude-g20201212-00a5b5a40b0e4419869ec3783744c75a8c86a5d7_GH0.tar.gz) = 29b5122c6713a30ae6bb6914ee7b58e4b02f48f9248ac3d8413adc48e5a64cd2
+SIZE (rime-rime-prelude-g20201212-00a5b5a40b0e4419869ec3783744c75a8c86a5d7_GH0.tar.gz) = 18287

Added: head/chinese/rime-prelude/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-prelude/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Essential files for building up your Rime configuration.
+
+WWW: https://github.com/rime/rime-prelude

Added: head/chinese/rime-stroke/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-stroke/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,58 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-stroke
+DISTVERSION=	g20191221
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime Stroke 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=	ea8576d1accd6fda339e96b415caadb56e2a07d1
+
+NO_ARCH=	yes
+
+PORTDOCS=	AUTHORS README.md
+
+PRELUDE_FILES=	default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
+ESSAY_FILES=	essay.txt
+SCHEMA_FILES=	stroke.schema.yaml
+MY_OUTDIR=	${WRKDIR}/out
+
+do-build:
+	@${MKDIR} ${MY_OUTDIR}
+	@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
+.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
+	@${RLN} ${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>

Added: head/chinese/rime-stroke/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-stroke/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608104190
+SHA256 (rime-rime-stroke-g20191221-ea8576d1accd6fda339e96b415caadb56e2a07d1_GH0.tar.gz) = 6ff57556a7a047514911226db9dd244f9517912573826c0d20b21456b98202be
+SIZE (rime-rime-stroke-g20191221-ea8576d1accd6fda339e96b415caadb56e2a07d1_GH0.tar.gz) = 714917

Added: head/chinese/rime-stroke/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-stroke/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Stroke schema input support.
+
+WWW: https://github.com/rime/rime-stroke

Added: head/chinese/rime-stroke/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-stroke/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,7 @@
+share/rime-data/build/stroke.prism.bin
+share/rime-data/build/stroke.reverse.bin
+share/rime-data/build/stroke.schema.yaml
+share/rime-data/build/stroke.table.bin
+share/rime-data/build/stroke.table.txt
+share/rime-data/stroke.dict.yaml
+share/rime-data/stroke.schema.yaml

Added: head/chinese/rime-terra-pinyin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-terra-pinyin/Makefile	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,58 @@
+# Created by: Ka Ho Ng <khng300@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	rime-terra-pinyin
+DISTVERSION=	g20201018
+CATEGORIES=	chinese textproc
+
+MAINTAINER=	khng300@gmail.com
+COMMENT=	Rime Terra 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=	5a445e2953c4b8149daac9d4625782fd5f80d9f2
+
+NO_ARCH=	yes
+
+PORTDOCS=	AUTHORS README.md
+
+PRELUDE_FILES=	default.yaml key_bindings.yaml punctuation.yaml symbols.yaml
+ESSAY_FILES=	essay.txt
+SCHEMA_FILES=	terra_pinyin.schema.yaml
+MY_OUTDIR=	${WRKDIR}/out
+
+do-build:
+	@${MKDIR} ${MY_OUTDIR}
+	@${RLN} ${WRKSRC}/* ${MY_OUTDIR}
+.for i in ${PRELUDE_FILES} ${ESSAY_FILES}
+	@${RLN} ${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>

Added: head/chinese/rime-terra-pinyin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-terra-pinyin/distinfo	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608102914
+SHA256 (rime-rime-terra-pinyin-g20201018-5a445e2953c4b8149daac9d4625782fd5f80d9f2_GH0.tar.gz) = c5fda93a0f5b3fd64b875f853b214a23289802b9022c9b0227af515e97009bfb
+SIZE (rime-rime-terra-pinyin-g20201018-5a445e2953c4b8149daac9d4625782fd5f80d9f2_GH0.tar.gz) = 730315

Added: head/chinese/rime-terra-pinyin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-terra-pinyin/pkg-descr	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,3 @@
+Rime Terra Pinyin schema for Mandarin input support.
+
+WWW: https://github.com/rime/rime-terra-pinyin

Added: head/chinese/rime-terra-pinyin/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/rime-terra-pinyin/pkg-plist	Thu Dec 17 10:47:28 2020	(r558280)
@@ -0,0 +1,8 @@
+share/rime-data/build/terra_pinyin.prism.bin
+share/rime-data/build/terra_pinyin.prism.txt
+share/rime-data/build/terra_pinyin.reverse.bin
+share/rime-data/build/terra_pinyin.schema.yaml
+share/rime-data/build/terra_pinyin.table.bin
+share/rime-data/build/terra_pinyin.table.txt
+share/rime-data/terra_pinyin.dict.yaml
+share/rime-data/terra_pinyin.schema.yaml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012171047.0BHAlSeA033899>