[Bug 219132] [NEW PORT] textproc/scws Simple Chinese word segmentation program and lib

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 13 05:04:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219132

--- Comment #1 from Martin Wilke <miwi at FreeBSD.org> ---
Comment on attachment 182388
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182388
new port shar file

># This is a shell archive.  Save it in a file, remove anything before
># this line, and then unpack it by entering "sh file".  Note, it may
># create directories; files and directories will be owned by you and
># have default permissions.
>#
># This archive contains:
>#
>#	scws
>#	scws/distinfo
>#	scws/tmp
>#	scws/Makefile
>#	scws/pkg-descr
>#	scws/pkg-plist
>#
>echo c - scws
>mkdir -p scws > /dev/null 2>&1
>echo x - scws/distinfo
>sed 's/^X//' >scws/distinfo << '9894864824fc6e3b607eae66f59e52c9'
>XTIMESTAMP = 1494223276
>XSHA256 (scws-1.2.3.tar.bz2) = 60d50ac3dc42cff3c0b16cb1cfee47d8cb8c8baa142a58bc62854477b81f1af5
>XSIZE (scws-1.2.3.tar.bz2) = 485903
>9894864824fc6e3b607eae66f59e52c9
>echo x - scws/tmp
>sed 's/^X//' >scws/tmp << 'c21a431cd890495b6974063b9bc51dc2'
>X/you/have/to/check/what/makeplist/gives/you
>Xbin/scws
>Xbin/scws-gen-dict
>X%%ETCDIR%%/rules.ini.sample
>X%%ETCDIR%%/rules.utf8.ini.sample
>X%%ETCDIR%%/rules_cht.utf8.ini.sample
>Xinclude/scws/charset.h
>Xinclude/scws/crc32.h
>Xinclude/scws/darray.h
>Xinclude/scws/pool.h
>Xinclude/scws/rule.h
>Xinclude/scws/scws.h
>Xinclude/scws/version.h
>Xinclude/scws/xdb.h
>Xinclude/scws/xdict.h
>Xinclude/scws/xtree.h
>Xlib/libscws.la
>Xlib/libscws.so
>Xlib/libscws.so.1
>Xlib/libscws.so.1.1.0
>c21a431cd890495b6974063b9bc51dc2
>echo x - scws/Makefile
>sed 's/^X//' >scws/Makefile << '1605fec3e0a421cd44a8dc7da17f49ed'
>X# Created by: Jov <amutu at amutu.com>
>X# $FreeBSD$
>X
>XPORTNAME=	scws
>XPORTVERSION=	1.2.3
>XCATEGORIES=	textproc
>XMASTER_SITES=	http://www.xunsearch.com/scws/down/
>X
>XMAINTAINER=	amutu at amutu.com
>XCOMMENT=	Simple Chinese word segmentation program and lib
>X
>XLICENSE=	BSD2CLAUSE
>X
>XGNU_CONFIGURE=	yes
>XUSES=		gmake libtool:keepla tar:bzip2
>XUSE_LDCONFIG=	yes
>X
>XCONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/scws \
>X		--with-pic
>X
>XINSTALL_TARGET=install-strip
>X
>Xpost-install:
>X	${MV} ${STAGEDIR}${PREFIX}/etc/scws/rules.ini \
>X	                ${STAGEDIR}${PREFIX}/etc/scws/rules.ini.sample
>X	${MV} ${STAGEDIR}${PREFIX}/etc/scws/rules.utf8.ini \
>X	                ${STAGEDIR}${PREFIX}/etc/scws/rules.utf8.ini.sample
>X	${MV} ${STAGEDIR}${PREFIX}/etc/scws/rules_cht.utf8.ini \
>X	                ${STAGEDIR}${PREFIX}/etc/scws/rules_cht.utf8.ini.sample
>X
>X.include <bsd.port.mk>
>1605fec3e0a421cd44a8dc7da17f49ed
>echo x - scws/pkg-descr
>sed 's/^X//' >scws/pkg-descr << '31f5a13c77d8f428f238ab0d8084dfb9'
>XSCWS (Simple Chinese Word Segmentation) is a frequency dictionary based Chinese
>Xword segmentation engine, it can cut a whole section of the Chinese text into
>Xwords. Word is the smallest unit of morpheme in Chinese, but in Chinese words
>Xare not separated by spaces,so word segmentation is an important step for
>XChinese language process.SCWS is written in C without other dependencies and
>Xaccept GBK and UTF-8 encoding for both the Simple Chinese (zh_CN) and the
>XTraditional Chinese (such as zh_TW).
>X
>XWWW: http://www.xunsearch.com/scws/index.php
>31f5a13c77d8f428f238ab0d8084dfb9
>echo x - scws/pkg-plist
>sed 's/^X//' >scws/pkg-plist << '8e14e730a1dd29627c91dc2cf0df2327'
>Xbin/scws
>Xbin/scws-gen-dict
>X%%ETCDIR%%/rules.ini.sample
>X%%ETCDIR%%/rules.utf8.ini.sample
>X%%ETCDIR%%/rules_cht.utf8.ini.sample
>Xinclude/scws/charset.h
>Xinclude/scws/crc32.h
>Xinclude/scws/darray.h
>Xinclude/scws/pool.h
>Xinclude/scws/rule.h
>Xinclude/scws/scws.h
>Xinclude/scws/version.h
>Xinclude/scws/xdb.h
>Xinclude/scws/xdict.h
>Xinclude/scws/xtree.h
>Xlib/libscws.la
>Xlib/libscws.so
>Xlib/libscws.so.1
>Xlib/libscws.so.1.1.0
>8e14e730a1dd29627c91dc2cf0df2327
>exit
>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list