aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-05-09 15:26:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-05-09 15:26:07 +0800
commit136ca69cc02cd9fb42f419e6b3059699bb785b61 (patch)
tree17921eb0f1b77affd90ddce9f60186e412fe0571
parenta9ade57f9866a3decda227d09c545f4a83f58f88 (diff)
downloadfreebsd-ports-gnome-136ca69cc02cd9fb42f419e6b3059699bb785b61.tar.gz
freebsd-ports-gnome-136ca69cc02cd9fb42f419e6b3059699bb785b61.tar.zst
freebsd-ports-gnome-136ca69cc02cd9fb42f419e6b3059699bb785b61.zip
- 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/
-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/