Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2017 05:04:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219132] [NEW PORT] textproc/scws Simple Chinese word segmentation program and lib
Message-ID:  <bug-219132-13-VUuzsjCXDt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219132-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219132-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219132

--- Comment #1 from Martin Wilke <miwi@FreeBSD.org> ---
Comment on attachment 182388
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182388
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 =3D 1494223276
>XSHA256 (scws-1.2.3.tar.bz2) =3D 60d50ac3dc42cff3c0b16cb1cfee47d8cb8c8baa1=
42a58bc62854477b81f1af5
>XSIZE (scws-1.2.3.tar.bz2) =3D 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@amutu.com>
>X# $FreeBSD$
>X
>XPORTNAME=3D	scws
>XPORTVERSION=3D	1.2.3
>XCATEGORIES=3D	textproc
>XMASTER_SITES=3D	http://www.xunsearch.com/scws/down/
>X
>XMAINTAINER=3D	amutu@amutu.com
>XCOMMENT=3D	Simple Chinese word segmentation program and lib
>X
>XLICENSE=3D	BSD2CLAUSE
>X
>XGNU_CONFIGURE=3D	yes
>XUSES=3D		gmake libtool:keepla tar:bzip2
>XUSE_LDCONFIG=3D	yes
>X
>XCONFIGURE_ARGS=3D	--sysconfdir=3D${PREFIX}/etc/scws \
>X		--with-pic
>X
>XINSTALL_TARGET=3Dinstall-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 C=
hinese
>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 w=
ords
>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
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219132-13-VUuzsjCXDt>