diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-07-07 02:49:31 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-07-07 02:49:31 +0800 |
commit | 73829138f08300441b110e4236b01011c54f430d (patch) | |
tree | 1987bd29dbeba3bd323cab499c2d4efa471fce9a /chinese | |
parent | 8c13fcf9ec04b1f6113d7216b1d5fe738f114b95 (diff) | |
download | freebsd-ports-gnome-73829138f08300441b110e4236b01011c54f430d.tar.gz freebsd-ports-gnome-73829138f08300441b110e4236b01011c54f430d.tar.zst freebsd-ports-gnome-73829138f08300441b110e4236b01011c54f430d.zip |
- Add LICENSE
- Remove unnecessary MASTER_SITE_SUBDIR
- Reformat pkg-descr
- Use single space after WWW:
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/p5-Lingua-ZH-WordSegmenter/Makefile | 6 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr | 16 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist | 4 |
3 files changed, 14 insertions, 12 deletions
diff --git a/chinese/p5-Lingua-ZH-WordSegmenter/Makefile b/chinese/p5-Lingua-ZH-WordSegmenter/Makefile index 28b1c78b08f5..3ac1d4841f53 100644 --- a/chinese/p5-Lingua-ZH-WordSegmenter/Makefile +++ b/chinese/p5-Lingua-ZH-WordSegmenter/Makefile @@ -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@FreeBSD.org COMMENT= Simplified Chinese Word Segmentation -USES= perl5 +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + USE_PERL5= configure +USES= perl5 .include <bsd.port.mk> diff --git a/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr b/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr index 983f7bf2ddf5..745b85a9f92b 100644 --- a/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr +++ b/chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr @@ -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/ diff --git a/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist b/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist index 3b9d974c5ca1..4afaf31d8d4b 100644 --- a/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist +++ b/chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist @@ -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 -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/WordSegmenter +%%PERL5_MAN3%%/Lingua::ZH::WordSegmenter.3.gz +@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 |