aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-01-04 17:04:29 +0800
committermiwi <miwi@FreeBSD.org>2016-01-04 17:04:29 +0800
commitcb0058acf2940d5ab6885cf14cecd793e98698a8 (patch)
tree2e5bad6d9c0b6ab87339ffe8d33f796053b4bf1c /chinese
parent2713aa291f5ac68857c6a0d8a5f481c1e66476f4 (diff)
downloadfreebsd-ports-gnome-cb0058acf2940d5ab6885cf14cecd793e98698a8.tar.gz
freebsd-ports-gnome-cb0058acf2940d5ab6885cf14cecd793e98698a8.tar.zst
freebsd-ports-gnome-cb0058acf2940d5ab6885cf14cecd793e98698a8.zip
A command line tool to do EN <-> CH translation, utilized by Yahoo! Dictionary.
WWW: https://github.com/iamgyz/gydict PR: 203872 Submitted by: Chih-Hsin Chang <chihhsin@cs.nctu.edu.tw>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/gydict/Makefile27
-rw-r--r--chinese/gydict/distinfo2
-rw-r--r--chinese/gydict/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 39356ec911f2..2bf5a8be030f 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -50,6 +50,7 @@
SUBDIR += gb2ps
SUBDIR += gcin
SUBDIR += gimp-help-zh_CN
+ SUBDIR += gydict
SUBDIR += hc
SUBDIR += ibus-chewing
SUBDIR += ibus-libpinyin
diff --git a/chinese/gydict/Makefile b/chinese/gydict/Makefile
new file mode 100644
index 000000000000..1a0c5e943d59
--- /dev/null
+++ b/chinese/gydict/Makefile
@@ -0,0 +1,27 @@
+# Created by: Chih-Hsin Chang <chihhsin@cs.nctu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= gydict
+PORTVERSION= 1.0
+CATEGORIES= chinese textproc python
+
+MAINTAINER= chihhsin@cs.nctu.edu.tw
+COMMENT= Command line tool of Yahoo! Dictionary
+
+LICENSE= MIT
+
+USES= python:run,3
+
+USE_GITHUB= yes
+GH_ACCOUNT= iamgyz
+GH_TAGNAME= 124aebf
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= bin/gydict
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gydict.py ${STAGEDIR}${PREFIX}/bin/gydict
+
+.include <bsd.port.mk>
diff --git a/chinese/gydict/distinfo b/chinese/gydict/distinfo
new file mode 100644
index 000000000000..f0ff710f9b30
--- /dev/null
+++ b/chinese/gydict/distinfo
@@ -0,0 +1,2 @@
+SHA256 (iamgyz-gydict-1.0-124aebf_GH0.tar.gz) = 732b5f4e70d23c84cc71979b3f3d77e598b6b583879c173006629b48e71e58d8
+SIZE (iamgyz-gydict-1.0-124aebf_GH0.tar.gz) = 1967
diff --git a/chinese/gydict/pkg-descr b/chinese/gydict/pkg-descr
new file mode 100644
index 000000000000..fd9dd66c1ed2
--- /dev/null
+++ b/chinese/gydict/pkg-descr
@@ -0,0 +1,3 @@
+A command line tool to do EN <-> CH translation, utilized by Yahoo! Dictionary.
+
+WWW: https://github.com/iamgyz/gydict