Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 18:49:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360961 - head/chinese/p5-Lingua-ZH-WordSegmenter
Message-ID:  <201407061849.s66InWZU053481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407061849.s66InWZU053481>