svn commit: r446058 - in head/textproc: . scws
Torsten Zuehlsdorff
tz at FreeBSD.org
Mon Jul 17 10:16:06 UTC 2017
Author: tz
Date: Mon Jul 17 10:16:04 2017
New Revision: 446058
URL: https://svnweb.freebsd.org/changeset/ports/446058
Log:
New port: textproc/scws
SCWS (Simple Chinese Word Segmentation) is a frequency dictionary based Chinese
word segmentation engine, it can cut a whole section of the Chinese text into
words. Word is the smallest unit of morpheme in Chinese, but in Chinese words
are not separated by spaces,so word segmentation is an important step for
Chinese language process.SCWS is written in C without other dependencies and
accept GBK and UTF-8 encoding for both the Simple Chinese (zh_CN) and the
Traditional Chinese (such as zh_TW).
WWW: http://www.xunsearch.com/scws/index.php
PR: 219132
Submitted by: Jov <amutu at amutu.com>
Added:
head/textproc/scws/
head/textproc/scws/Makefile (contents, props changed)
head/textproc/scws/distinfo (contents, props changed)
head/textproc/scws/pkg-descr (contents, props changed)
head/textproc/scws/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Mon Jul 17 09:00:59 2017 (r446057)
+++ head/textproc/Makefile Mon Jul 17 10:16:04 2017 (r446058)
@@ -1605,6 +1605,7 @@
SUBDIR += scr2txt
SUBDIR += scrollkeeper
SUBDIR += scss
+ SUBDIR += scws
SUBDIR += sdcv
SUBDIR += sdf
SUBDIR += sdif
Added: head/textproc/scws/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/scws/Makefile Mon Jul 17 10:16:04 2017 (r446058)
@@ -0,0 +1,23 @@
+# Created by: Jov <amutu at amutu.com>
+# $FreeBSD$
+
+PORTNAME= scws
+PORTVERSION= 1.2.3
+CATEGORIES= textproc
+MASTER_SITES= http://www.xunsearch.com/scws/down/
+
+MAINTAINER= amutu at amutu.com
+COMMENT= Simple Chinese word segmentation program and lib
+
+LICENSE= BSD2CLAUSE
+
+GNU_CONFIGURE= yes
+USES= gmake libtool:keepla tar:bzip2
+USE_LDCONFIG= yes
+
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/scws \
+ --with-pic
+
+INSTALL_TARGET=install-strip
+
+.include <bsd.port.mk>
Added: head/textproc/scws/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/scws/distinfo Mon Jul 17 10:16:04 2017 (r446058)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494223276
+SHA256 (scws-1.2.3.tar.bz2) = 60d50ac3dc42cff3c0b16cb1cfee47d8cb8c8baa142a58bc62854477b81f1af5
+SIZE (scws-1.2.3.tar.bz2) = 485903
Added: head/textproc/scws/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/scws/pkg-descr Mon Jul 17 10:16:04 2017 (r446058)
@@ -0,0 +1,9 @@
+SCWS (Simple Chinese Word Segmentation) is a frequency dictionary based Chinese
+word segmentation engine, it can cut a whole section of the Chinese text into
+words. Word is the smallest unit of morpheme in Chinese, but in Chinese words
+are not separated by spaces,so word segmentation is an important step for
+Chinese language process.SCWS is written in C without other dependencies and
+accept GBK and UTF-8 encoding for both the Simple Chinese (zh_CN) and the
+Traditional Chinese (such as zh_TW).
+
+WWW: http://www.xunsearch.com/scws/index.php
Added: head/textproc/scws/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/scws/pkg-plist Mon Jul 17 10:16:04 2017 (r446058)
@@ -0,0 +1,19 @@
+bin/scws
+bin/scws-gen-dict
+%%ETCDIR%%/rules.ini
+%%ETCDIR%%/rules.utf8.ini
+%%ETCDIR%%/rules_cht.utf8.ini
+include/scws/charset.h
+include/scws/crc32.h
+include/scws/darray.h
+include/scws/pool.h
+include/scws/rule.h
+include/scws/scws.h
+include/scws/version.h
+include/scws/xdb.h
+include/scws/xdict.h
+include/scws/xtree.h
+lib/libscws.la
+lib/libscws.so
+lib/libscws.so.1
+lib/libscws.so.1.1.0
More information about the svn-ports-all
mailing list