freebsd-ports/textproc/scws/Makefile
Torsten Zuehlsdorff 0a3058e33c 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@amutu.com>
2017-07-17 10:16:04 +00:00

23 lines
456 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= scws
PORTVERSION= 1.2.3
CATEGORIES= textproc
MASTER_SITES= http://www.xunsearch.com/scws/down/
MAINTAINER= amutu@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>