aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-10-10 23:34:02 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-10-10 23:34:02 +0800
commita57a28e127190a3480cdbdddf5b77e998e650fa9 (patch)
tree089c8f62f84afe548c8a90fd129cf420579021c9 /chinese
parent97658188d46ec9d35d0f80ece7930e991a715949 (diff)
downloadfreebsd-ports-gnome-a57a28e127190a3480cdbdddf5b77e998e650fa9.tar.gz
freebsd-ports-gnome-a57a28e127190a3480cdbdddf5b77e998e650fa9.tar.zst
freebsd-ports-gnome-a57a28e127190a3480cdbdddf5b77e998e650fa9.zip
Auto chinese encoding converter. It can detect UTF-8/Big5/GBK text and convert
them to specified chinese encoding with transliteration. WWW: https://github.com/buganini/chiconv PR: ports/172267 Submitted by: Kuan-Chung Chiu <buganini@gmail.com>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/chiconv/Makefile24
-rw-r--r--chinese/chiconv/distinfo2
-rw-r--r--chinese/chiconv/pkg-descr4
4 files changed, 31 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 5a176c52fbd2..d32cb46a9e9f 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -27,6 +27,7 @@
SUBDIR += cce
SUBDIR += cconv
SUBDIR += celvis
+ SUBDIR += chiconv
SUBDIR += cless
SUBDIR += cmexfonts
SUBDIR += cnprint
diff --git a/chinese/chiconv/Makefile b/chinese/chiconv/Makefile
new file mode 100644
index 000000000000..b30cacd46db5
--- /dev/null
+++ b/chinese/chiconv/Makefile
@@ -0,0 +1,24 @@
+# Created by: buganini@gmail.com
+# $FreeBSD$
+
+PORTNAME= chiconv
+PORTVERSION= 1.0
+CATEGORIES= chinese converters
+DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
+
+MAINTAINER= buganini@gmail.com
+COMMENT= Auto chinese encoding converter
+
+LICENSE= BSD
+
+LIB_DEPENDS= bsdconv:${PORTSDIR}/converters/bsdconv
+
+USE_GITHUB= yes
+GH_ACCOUNT= buganini
+GH_COMMIT= 046010f
+
+MAKE_ARGS= PREFIX=${PREFIX}
+
+PLIST_FILES= bin/chiconv
+
+.include <bsd.port.mk>
diff --git a/chinese/chiconv/distinfo b/chinese/chiconv/distinfo
new file mode 100644
index 000000000000..ae3ea40fcbdd
--- /dev/null
+++ b/chinese/chiconv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (buganini-chiconv-1.0-0-g046010f.tar.gz) = ac8cdf73cebaf9725cdb2034d188fe1d2b988379b87fde269aa9b9b15fddf27c
+SIZE (buganini-chiconv-1.0-0-g046010f.tar.gz) = 1531
diff --git a/chinese/chiconv/pkg-descr b/chinese/chiconv/pkg-descr
new file mode 100644
index 000000000000..ff09498e56b6
--- /dev/null
+++ b/chinese/chiconv/pkg-descr
@@ -0,0 +1,4 @@
+Auto chinese encoding converter. It can detect UTF-8/Big5/GBK text and convert
+them to specified chinese encoding with transliteration.
+
+WWW: https://github.com/buganini/chiconv