aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2016-01-04 09:04:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2016-01-04 09:04:29 +0000
commitae570fb0109ccad6fe133b40a04fbf00eb4e6393 (patch)
tree2e5bad6d9c0b6ab87339ffe8d33f796053b4bf1c /chinese
parentb4e68e806999c0f31d2f064eff8ab04dd301c4ab (diff)
downloadports-ae570fb0109ccad6fe133b40a04fbf00eb4e6393.tar.gz
ports-ae570fb0109ccad6fe133b40a04fbf00eb4e6393.zip
Notes
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