diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/pycodec/Makefile | 29 | ||||
-rw-r--r-- | chinese/pycodec/distinfo | 1 | ||||
-rw-r--r-- | chinese/pycodec/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/pycodec/pkg-descr | 6 | ||||
-rw-r--r-- | chinese/pycodec/pkg-plist | 22 |
6 files changed, 60 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index aa4e80810652..dae9d71d760f 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -68,6 +68,7 @@ SUBDIR += p5-Date-Chinese SUBDIR += pine4 SUBDIR += pyDict + SUBDIR += pycodec SUBDIR += qe SUBDIR += qterm SUBDIR += rxvt diff --git a/chinese/pycodec/Makefile b/chinese/pycodec/Makefile new file mode 100644 index 000000000000..0390a09311e8 --- /dev/null +++ b/chinese/pycodec/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: zh-pycodec +# Date created: 24 June 2001 +# Whom: Hye-Shik Chang <perky@python.or.kr> +# +# $FreeBSD$ +# + +PORTNAME= pycodec +PORTVERSION= 1.2.0 +CATEGORIES= chinese python converters +MASTER_SITES= ftp://python-codecs.sourceforge.net/pub/python-codecs/ \ + ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/ \ + ftp://www3.kr.freebsd.org/~perky/distfiles/ +DISTNAME= ChineseCodecs${PORTVERSION} + +MAINTAINER= perky@python.or.kr + +BUILD_DEPENDS= ${PYDISTUTILS} + +USE_PYTHON= yes +NO_BUILD= yes +PLIST_SUB+= PYTHON_CODECDIR=${PYCODEC_DIR:S,^${LOCALBASE}/,,g} +PYCODEC_DIR= ${PYTHON_LIBDIR}/encodings +PYDIST_SETUP= cd ${WRKSRC}/Python && ${PYTHON_CMD} setup.py + +do-install: + ${PYDIST_SETUP} install --install-lib="${PYCODEC_DIR}" + +.include <bsd.port.mk> diff --git a/chinese/pycodec/distinfo b/chinese/pycodec/distinfo new file mode 100644 index 000000000000..4399bf2e07ba --- /dev/null +++ b/chinese/pycodec/distinfo @@ -0,0 +1 @@ +MD5 (ChineseCodecs1.2.0.tar.gz) = 988651068ba9de62cc5b6e558e8e2158 diff --git a/chinese/pycodec/pkg-comment b/chinese/pycodec/pkg-comment new file mode 100644 index 000000000000..913001ffba38 --- /dev/null +++ b/chinese/pycodec/pkg-comment @@ -0,0 +1 @@ +Python Unicode codecs for Chinese charsets diff --git a/chinese/pycodec/pkg-descr b/chinese/pycodec/pkg-descr new file mode 100644 index 000000000000..aab16e39ba17 --- /dev/null +++ b/chinese/pycodec/pkg-descr @@ -0,0 +1,6 @@ +This package provides Unicode codecs that make Python aware of +Chinese character encodings such as Big5, EUC-GB2312. +By using this package, Chinese characters can be treated +as a character string instead of a byte sequence. + +WWW: http://sourceforge.net/projects/python-codecs/ diff --git a/chinese/pycodec/pkg-plist b/chinese/pycodec/pkg-plist new file mode 100644 index 000000000000..505a19553fa3 --- /dev/null +++ b/chinese/pycodec/pkg-plist @@ -0,0 +1,22 @@ +%%PYTHON_CODECDIR%%/big5_tw.py +%%PYTHON_CODECDIR%%/chinesetw/__init__.py +%%PYTHON_CODECDIR%%/chinesetw/big52utf1.py +%%PYTHON_CODECDIR%%/chinesetw/big52utf2.py +%%PYTHON_CODECDIR%%/chinesetw/utf2big51.py +%%PYTHON_CODECDIR%%/chinesetw/utf2big52.py +%%PYTHON_CODECDIR%%/big5_tw.pyc +%%PYTHON_CODECDIR%%/chinesetw/__init__.pyc +%%PYTHON_CODECDIR%%/chinesetw/big52utf1.pyc +%%PYTHON_CODECDIR%%/chinesetw/big52utf2.pyc +%%PYTHON_CODECDIR%%/chinesetw/utf2big51.pyc +%%PYTHON_CODECDIR%%/chinesetw/utf2big52.pyc +@dirrm %%PYTHON_CODECDIR%%/chinesetw +%%PYTHON_CODECDIR%%/eucgb2312_cn.py +%%PYTHON_CODECDIR%%/chinesecn/__init__.py +%%PYTHON_CODECDIR%%/chinesecn/euc_gb23122utf.py +%%PYTHON_CODECDIR%%/chinesecn/utf2euc_gb2312.py +%%PYTHON_CODECDIR%%/eucgb2312_cn.pyc +%%PYTHON_CODECDIR%%/chinesecn/__init__.pyc +%%PYTHON_CODECDIR%%/chinesecn/euc_gb23122utf.pyc +%%PYTHON_CODECDIR%%/chinesecn/utf2euc_gb2312.pyc +@dirrm %%PYTHON_CODECDIR%%/chinesecn |