diff options
author | knu <knu@FreeBSD.org> | 2001-06-23 18:09:14 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-23 18:09:14 +0000 |
commit | 37b37d840d9c6f28dbbbe8e8466c92b891780828 (patch) | |
tree | 8ed56dd1e915df34de2397ee088f225b2231374c /japanese | |
parent | 41a3338fb0a4067e6b12a2adb15aea56c033ac1e (diff) | |
download | FreeBSD-ports-37b37d840d9c6f28dbbbe8e8466c92b891780828.zip FreeBSD-ports-37b37d840d9c6f28dbbbe8e8466c92b891780828.tar.gz |
Add ja-pycodec, Python Unicode codecs for Japanese charsets.
PR: ports/26988
Submitted by: Chang, Hye-Shik <perky@python.or.kr>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/pycodec/Makefile | 30 | ||||
-rw-r--r-- | japanese/pycodec/distinfo | 1 | ||||
-rw-r--r-- | japanese/pycodec/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/pycodec/pkg-descr | 6 | ||||
-rw-r--r-- | japanese/pycodec/pkg-plist | 34 |
6 files changed, 73 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 79b4b05..b54b4c4 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -270,6 +270,7 @@ SUBDIR += ptex-pkfonts400 SUBDIR += ptex-pkfonts600 SUBDIR += ptex-sjis + SUBDIR += pycodec SUBDIR += qkc SUBDIR += rbnamazu SUBDIR += recjis diff --git a/japanese/pycodec/Makefile b/japanese/pycodec/Makefile new file mode 100644 index 0000000..e96b5e1 --- /dev/null +++ b/japanese/pycodec/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: ja-pycodec +# Date created: 29 April 2001 +# Whom: Hye-Shik Chang <perky@python.or.kr> +# +# $FreeBSD$ +# + +PORTNAME= pycodec +PORTVERSION= 1.2.2 +CATEGORIES= japanese python converters +MASTER_SITES= http://pseudo.grad.sccs.chukyo-u.ac.jp/~kajiyama/python/ \ + ftp://ftp2.python.or.kr/pub/FreeBSD/ports/distfiles/ \ + ftp://www3.kr.freebsd.org/~perky/distfiles/ +DISTNAME= JapaneseCodecs-${PORTVERSION} + +MAINTAINER= perky@python.or.kr + +BUILD_DEPENDS= ${PYDISTUTILS} + +USE_PYTHON= yes +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} +PYDIST_SETUP= cd ${WRKSRC} && ${PYTHON_CMD} setup.py + +do-build: + ${PYDIST_SETUP} build + +do-install: + ${PYDIST_SETUP} install + +.include <bsd.port.mk> diff --git a/japanese/pycodec/distinfo b/japanese/pycodec/distinfo new file mode 100644 index 0000000..6f4d5a0 --- /dev/null +++ b/japanese/pycodec/distinfo @@ -0,0 +1 @@ +MD5 (JapaneseCodecs-1.2.2.tar.gz) = aaeece10025d48647f2b9766f1d35517 diff --git a/japanese/pycodec/pkg-comment b/japanese/pycodec/pkg-comment new file mode 100644 index 0000000..72c074f --- /dev/null +++ b/japanese/pycodec/pkg-comment @@ -0,0 +1 @@ +Python Unicode codecs for Japanese charsets diff --git a/japanese/pycodec/pkg-descr b/japanese/pycodec/pkg-descr new file mode 100644 index 0000000..d82f3e2 --- /dev/null +++ b/japanese/pycodec/pkg-descr @@ -0,0 +1,6 @@ +This package provides Unicode codecs that make Python aware of +Japanese character encodings such as EUC-JP, Shift_JIS and +ISO-2022-JP. By using this package, Japanese characters can be +treated as a character string instead of a byte sequence. + +WWW: http://pseudo.grad.sccs.chukyo-u.ac.jp/~kajiyama/python/ diff --git a/japanese/pycodec/pkg-plist b/japanese/pycodec/pkg-plist new file mode 100644 index 0000000..4747bf2 --- /dev/null +++ b/japanese/pycodec/pkg-plist @@ -0,0 +1,34 @@ +%%PYTHON_SITELIBDIR%%/japanese/__init__.py +%%PYTHON_SITELIBDIR%%/japanese/euc_jp.py +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp.py +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp_1.py +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp_ext.py +%%PYTHON_SITELIBDIR%%/japanese/jis_7.py +%%PYTHON_SITELIBDIR%%/japanese/jis_x_0201_katakana.py +%%PYTHON_SITELIBDIR%%/japanese/jis_x_0201_roman.py +%%PYTHON_SITELIBDIR%%/japanese/shift_jis.py +%%PYTHON_SITELIBDIR%%/japanese/sjis.py +%%PYTHON_SITELIBDIR%%/japanese/ujis.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/__init__.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/euc_jp.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/jis_x_0208.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/jis_x_0212.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/shift_jis.py +%%PYTHON_SITELIBDIR%%/japanese/mappings/__init__.pyc +%%PYTHON_SITELIBDIR%%/japanese/mappings/euc_jp.pyc +%%PYTHON_SITELIBDIR%%/japanese/mappings/jis_x_0208.pyc +%%PYTHON_SITELIBDIR%%/japanese/mappings/jis_x_0212.pyc +%%PYTHON_SITELIBDIR%%/japanese/mappings/shift_jis.pyc +%%PYTHON_SITELIBDIR%%/japanese/__init__.pyc +%%PYTHON_SITELIBDIR%%/japanese/euc_jp.pyc +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp.pyc +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp_1.pyc +%%PYTHON_SITELIBDIR%%/japanese/iso_2022_jp_ext.pyc +%%PYTHON_SITELIBDIR%%/japanese/jis_7.pyc +%%PYTHON_SITELIBDIR%%/japanese/jis_x_0201_katakana.pyc +%%PYTHON_SITELIBDIR%%/japanese/jis_x_0201_roman.pyc +%%PYTHON_SITELIBDIR%%/japanese/shift_jis.pyc +%%PYTHON_SITELIBDIR%%/japanese/sjis.pyc +%%PYTHON_SITELIBDIR%%/japanese/ujis.pyc +@dirrm %%PYTHON_SITELIBDIR%%/japanese/mappings +@dirrm %%PYTHON_SITELIBDIR%%/japanese |