summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-05-09 07:26:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-05-09 07:26:07 +0000
commit34a39744345808a8d053c01fbfd3b26ccaa36806 (patch)
tree6ca03b4c9b870a06436ddf5a99c7b124744387cd /chinese
parent- Add p5-cconv 0.6.1 (diff)
- Add php5-cconv 0.6.4
This port is the PHP 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/
Notes
Notes: svn path=/head/; revision=273850
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/php5-cconv/Makefile24
-rw-r--r--chinese/php5-cconv/distinfo2
-rw-r--r--chinese/php5-cconv/pkg-descr15
4 files changed, 42 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 1eadc9de4f54..71203b3ae1d4 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -104,6 +104,7 @@
SUBDIR += p5-Text-Greeking-zh_TW
SUBDIR += p5-cconv
SUBDIR += pcmanx
+ SUBDIR += php5-cconv
SUBDIR += phpbb-tw
SUBDIR += phpbb3-tw
SUBDIR += pine4
diff --git a/chinese/php5-cconv/Makefile b/chinese/php5-cconv/Makefile
new file mode 100644
index 000000000000..5936a38dc15c
--- /dev/null
+++ b/chinese/php5-cconv/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: php5-cconv
+# Date created: 2011-04-28
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cconv
+PORTVERSION= 0.6.4
+CATEGORIES= chinese converters
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= php5-
+DISTNAME= ${PORTNAME}-php-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= PHP wrapper for chinese/cconv
+
+LIB_DEPENDS= cconv.0:${PORTSDIR}/chinese/cconv
+
+CONFIGURE_ARGS= --with-cconv-dir=${LOCALBASE}
+USE_PHP= yes
+USE_PHPEXT= yes
+
+.include <bsd.port.mk>
diff --git a/chinese/php5-cconv/distinfo b/chinese/php5-cconv/distinfo
new file mode 100644
index 000000000000..61779bfdbae4
--- /dev/null
+++ b/chinese/php5-cconv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cconv-php-0.6.4.tar.gz) = 213e56b072627a42d38fdfa7eebfcf58db55054af7ef554f9263c0af3e537628
+SIZE (cconv-php-0.6.4.tar.gz) = 2533
diff --git a/chinese/php5-cconv/pkg-descr b/chinese/php5-cconv/pkg-descr
new file mode 100644
index 000000000000..70178749c38f
--- /dev/null
+++ b/chinese/php5-cconv/pkg-descr
@@ -0,0 +1,15 @@
+This port is the PHP 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/