aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-17 20:53:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-17 20:53:14 +0800
commitff3f415f2393124a008f9503dc6a7390d301e7bf (patch)
treec52b96fd1a50456c8548695ab3f292a3e0a120b8 /chinese
parent8dcd70b7396fa7da824338e13f34df06cbfa664c (diff)
downloadfreebsd-ports-gnome-ff3f415f2393124a008f9503dc6a7390d301e7bf.tar.gz
freebsd-ports-gnome-ff3f415f2393124a008f9503dc6a7390d301e7bf.tar.zst
freebsd-ports-gnome-ff3f415f2393124a008f9503dc6a7390d301e7bf.zip
- Add php-opencc 0.0.0.20161110
Open Chinese Convert is an opensource project for conversion between Traditional Chinese and Simplified Chinese, supporting character-level conversion, phrase-level conversion, variant conversion and regional idioms among Mainland China, Taiwan and Hong kong. WWW: https://github.com/NauxLiu/opencc4php PR: 215092 Submitted by: Gasol Wu <gasol.wu@gmail.com>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/php-opencc/Makefile23
-rw-r--r--chinese/php-opencc/distinfo3
-rw-r--r--chinese/php-opencc/pkg-descr6
4 files changed, 33 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 4a45f580fb50..a55ccb3ae5f9 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -96,6 +96,7 @@
SUBDIR += p5-cconv
SUBDIR += pcmanx
SUBDIR += php-cconv
+ SUBDIR += php-opencc
SUBDIR += phpbb-tw
SUBDIR += phpbb3-tw
SUBDIR += py-cconv
diff --git a/chinese/php-opencc/Makefile b/chinese/php-opencc/Makefile
new file mode 100644
index 000000000000..b854eae820c9
--- /dev/null
+++ b/chinese/php-opencc/Makefile
@@ -0,0 +1,23 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= opencc
+PORTVERSION= 0.0.0.20161110
+CATEGORIES= chinese
+PKGNAMEPREFIX= php-
+
+MAINTAINER= gasol.wu@gmail.com
+COMMENT= OpenCC shared extension for php
+
+LICENSE= PHP301
+
+LIB_DEPENDS= libopencc.so:chinese/opencc
+
+USE_GITHUB= yes
+GH_ACCOUNT= NauxLiu
+GH_PROJECT= opencc4php
+GH_TAGNAME= 8007639
+
+USES= php:ext
+
+.include <bsd.port.mk>
diff --git a/chinese/php-opencc/distinfo b/chinese/php-opencc/distinfo
new file mode 100644
index 000000000000..d303c6a259d1
--- /dev/null
+++ b/chinese/php-opencc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481908552
+SHA256 (NauxLiu-opencc4php-0.0.0.20161110-8007639_GH0.tar.gz) = 7d5fe9431bccfe5b52dd43e0736509825c1f839f2d8081a5f3ef18131f3ab095
+SIZE (NauxLiu-opencc4php-0.0.0.20161110-8007639_GH0.tar.gz) = 6776
diff --git a/chinese/php-opencc/pkg-descr b/chinese/php-opencc/pkg-descr
new file mode 100644
index 000000000000..ca2d9dd0c2ac
--- /dev/null
+++ b/chinese/php-opencc/pkg-descr
@@ -0,0 +1,6 @@
+Open Chinese Convert is an opensource project for conversion between Traditional
+Chinese and Simplified Chinese, supporting character-level conversion,
+phrase-level conversion, variant conversion and regional idioms among Mainland
+China, Taiwan and Hong kong.
+
+WWW: https://github.com/NauxLiu/opencc4php