aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-24 02:09:14 +0800
committerknu <knu@FreeBSD.org>2001-06-24 02:09:14 +0800
commit37b37d840d9c6f28dbbbe8e8466c92b891780828 (patch)
tree8ed56dd1e915df34de2397ee088f225b2231374c /japanese
parent41a3338fb0a4067e6b12a2adb15aea56c033ac1e (diff)
downloadfreebsd-ports-graphics-37b37d840d9c6f28dbbbe8e8466c92b891780828.tar.gz
freebsd-ports-graphics-37b37d840d9c6f28dbbbe8e8466c92b891780828.tar.zst
freebsd-ports-graphics-37b37d840d9c6f28dbbbe8e8466c92b891780828.zip
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/Makefile1
-rw-r--r--japanese/pycodec/Makefile30
-rw-r--r--japanese/pycodec/distinfo1
-rw-r--r--japanese/pycodec/pkg-comment1
-rw-r--r--japanese/pycodec/pkg-descr6
-rw-r--r--japanese/pycodec/pkg-plist34
6 files changed, 73 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 79b4b0543ad..b54b4c4521a 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 00000000000..e96b5e1ef8c
--- /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 00000000000..6f4d5a0be79
--- /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 00000000000..72c074faa29
--- /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 00000000000..d82f3e2490c
--- /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 00000000000..4747bf287b2
--- /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