svn commit: r360961 - head/chinese/p5-Lingua-ZH-WordSegmenter
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jul 6 18:49:33 UTC 2014
Author: sunpoet
Date: Sun Jul 6 18:49:31 2014
New Revision: 360961
URL: http://svnweb.freebsd.org/changeset/ports/360961
QAT: https://qat.redports.org/buildarchive/r360961/
Log:
- Add LICENSE
- Remove unnecessary MASTER_SITE_SUBDIR
- Reformat pkg-descr
- Use single space after WWW:
Modified:
head/chinese/p5-Lingua-ZH-WordSegmenter/Makefile
head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr
head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist
Modified: head/chinese/p5-Lingua-ZH-WordSegmenter/Makefile
==============================================================================
--- head/chinese/p5-Lingua-ZH-WordSegmenter/Makefile Sun Jul 6 18:49:27 2014 (r360960)
+++ head/chinese/p5-Lingua-ZH-WordSegmenter/Makefile Sun Jul 6 18:49:31 2014 (r360961)
@@ -5,13 +5,15 @@ PORTNAME= Lingua-ZH-WordSegmenter
PORTVERSION= 0.01
CATEGORIES= chinese perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Simplified Chinese Word Segmentation
-USES= perl5
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
USE_PERL5= configure
+USES= perl5
.include <bsd.port.mk>
Modified: head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr
==============================================================================
--- head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr Sun Jul 6 18:49:27 2014 (r360960)
+++ head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr Sun Jul 6 18:49:31 2014 (r360961)
@@ -1,13 +1,13 @@
This is a perl version of simplified Chinese word segmentation.
-The algorithm for this segmenter is to search the longest word at each
-point from both left and right directions, and choose the one with
-higher frequency product.
+The algorithm for this segmenter is to search the longest word at each point
+from both left and right directions, and choose the one with higher frequency
+product.
The original program is from the CPAN module Lingua::ZH::WordSegment
-(http://search.cpan.org/~chenyr/) I did the follwing changes: 1) make
-the interface object oriented; 2) make the internal string into utf8;
-3) using sogou's dictionary (http://www.sogou.com/labs/dl/w.html) as
-the default dictionary.
+(http://search.cpan.org/~chenyr/) I did the follwing changes: 1) make the
+interface object oriented; 2) make the internal string into utf8; 3) using
+sogou's dictionary (http://www.sogou.com/labs/dl/w.html) as the default
+dictionary.
-WWW: http://search.cpan.org/dist/Lingua-ZH-WordSegmenter/
+WWW: http://search.cpan.org/dist/Lingua-ZH-WordSegmenter/
Modified: head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist
==============================================================================
--- head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist Sun Jul 6 18:49:27 2014 (r360960)
+++ head/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist Sun Jul 6 18:49:31 2014 (r360961)
@@ -1,7 +1,7 @@
-%%PERL5_MAN3%%/Lingua::ZH::WordSegmenter.3.gz
%%SITE_PERL%%/Lingua/ZH/WordSegmenter.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/WordSegmenter/.packlist
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/WordSegmenter
+%%PERL5_MAN3%%/Lingua::ZH::WordSegmenter.3.gz
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/WordSegmenter
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua
@dirrmtry %%SITE_PERL%%/Lingua/ZH
More information about the svn-ports-all
mailing list