From 58a9f2a8df682d3667e45d2c13e29f9a684f8b0f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 6 Jul 2014 18:49:31 +0000 Subject: - Add LICENSE - Remove unnecessary MASTER_SITE_SUBDIR - Reformat pkg-descr - Use single space after WWW: --- chinese/p5-Lingua-ZH-WordSegmenter/Makefile | 6 ++++-- chinese/p5-Lingua-ZH-WordSegmenter/pkg-descr | 16 ++++++++-------- chinese/p5-Lingua-ZH-WordSegmenter/pkg-plist | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) (limited to 'chinese') 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 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 -- cgit v1.2.3