diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/py-cconv/Makefile | 26 | ||||
-rw-r--r-- | chinese/py-cconv/distinfo | 2 | ||||
-rw-r--r-- | chinese/py-cconv/pkg-descr | 15 |
4 files changed, 44 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 71203b3ae1d4..b05df089fb0f 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -108,6 +108,7 @@ SUBDIR += phpbb-tw SUBDIR += phpbb3-tw SUBDIR += pine4 + SUBDIR += py-cconv SUBDIR += pyDict SUBDIR += qe SUBDIR += qt4-codecs-cn diff --git a/chinese/py-cconv/Makefile b/chinese/py-cconv/Makefile new file mode 100644 index 000000000000..61cb5363d79e --- /dev/null +++ b/chinese/py-cconv/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: py-cconv +# Date created: 2011-04-28 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= cconv +PORTVERSION= 0.5.0 +CATEGORIES= chinese converters python +MASTER_SITES= GOOGLE_CODE +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-python-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python wrapper for chinese/cconv + +LIB_DEPENDS= cconv.0:${PORTSDIR}/chinese/cconv + +CFLAGS+= -I${LOCALBASE}/include +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PORTNAME}.so + +.include <bsd.port.mk> diff --git a/chinese/py-cconv/distinfo b/chinese/py-cconv/distinfo new file mode 100644 index 000000000000..820e914fbba5 --- /dev/null +++ b/chinese/py-cconv/distinfo @@ -0,0 +1,2 @@ +SHA256 (cconv-python-0.5.0.tar.gz) = bd30d7fdd852000a9a67e6417fb8f1e52605e2bdae77d632d381a17da70c2764 +SIZE (cconv-python-0.5.0.tar.gz) = 1110 diff --git a/chinese/py-cconv/pkg-descr b/chinese/py-cconv/pkg-descr new file mode 100644 index 000000000000..e3490ecd38ee --- /dev/null +++ b/chinese/py-cconv/pkg-descr @@ -0,0 +1,15 @@ +This port is the Python wrapper of cconv (chinese/cconv). + +cconv (pronunciation: see-conv) is an iconv-based Simplified-Traditional Chinese +conversion tool. It is NOT only a transcoding program, but also a TRANSLATE tool +between Simplified Chinese and Traditional Chinese. + +We stand on the shoulders of giants. cconv source code is based on iconv, an +excellent program which converts text from one encoding to another. + +Features: +- iconv-like usage. +- language-level Simplified-Traditional Chinese conversion. +- idioms can be translated. + +WWW: http://code.google.com/p/cconv/ |