From owner-svn-ports-all@FreeBSD.ORG Sun Sep 30 04:10:36 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A39B1065670; Sun, 30 Sep 2012 04:10:36 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 744598FC0A; Sun, 30 Sep 2012 04:10:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8U4AaQj056521; Sun, 30 Sep 2012 04:10:36 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8U4AaNO056515; Sun, 30 Sep 2012 04:10:36 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201209300410.q8U4AaNO056515@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 30 Sep 2012 04:10:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305065 - in head/textproc: . p5-Lingua-EN-Words2Nums X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2012 04:10:36 -0000 Author: sunpoet Date: Sun Sep 30 04:10:35 2012 New Revision: 305065 URL: http://svn.freebsd.org/changeset/ports/305065 Log: - Add p5-Lingua-EN-Words2Nums 0.18 Lingua::EN::Words2Nums converts English text into numbers. It supports both ordinal and cardinal numbers, negative numbers, and very large numbers. The main subroutine, which is exported by default, is words2nums(). This subroutine, when fed a string, will attempt to convert it into a number. If it succeeds, the number will be returned. If it fails, it returns undef. WWW: http://search.cpan.org/dist/Lingua-EN-Words2Nums/ Added: head/textproc/p5-Lingua-EN-Words2Nums/ head/textproc/p5-Lingua-EN-Words2Nums/Makefile (contents, props changed) head/textproc/p5-Lingua-EN-Words2Nums/distinfo (contents, props changed) head/textproc/p5-Lingua-EN-Words2Nums/pkg-descr (contents, props changed) head/textproc/p5-Lingua-EN-Words2Nums/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun Sep 30 04:08:52 2012 (r305064) +++ head/textproc/Makefile Sun Sep 30 04:10:35 2012 (r305065) @@ -576,6 +576,7 @@ SUBDIR += p5-Lingua-EN-Summarize SUBDIR += p5-Lingua-EN-Syllable SUBDIR += p5-Lingua-EN-Tagger + SUBDIR += p5-Lingua-EN-Words2Nums SUBDIR += p5-Lingua-Ident SUBDIR += p5-Lingua-Identify SUBDIR += p5-Lingua-Ispell Added: head/textproc/p5-Lingua-EN-Words2Nums/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Lingua-EN-Words2Nums/Makefile Sun Sep 30 04:10:35 2012 (r305065) @@ -0,0 +1,20 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Lingua-EN-Words2Nums +PORTVERSION= 0.18 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convert English text to numbers + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +PERL_CONFIGURE= yes + +MAN3= Lingua::EN::Words2Nums.3 + +.include Added: head/textproc/p5-Lingua-EN-Words2Nums/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Lingua-EN-Words2Nums/distinfo Sun Sep 30 04:10:35 2012 (r305065) @@ -0,0 +1,2 @@ +SHA256 (Lingua-EN-Words2Nums-0.18.tar.gz) = 686556797cd2a4eaa066f19bbf03ab25c06278292c9ead2f187dfd9031ea1d85 +SIZE (Lingua-EN-Words2Nums-0.18.tar.gz) = 7417 Added: head/textproc/p5-Lingua-EN-Words2Nums/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Lingua-EN-Words2Nums/pkg-descr Sun Sep 30 04:10:35 2012 (r305065) @@ -0,0 +1,8 @@ +Lingua::EN::Words2Nums converts English text into numbers. It supports both +ordinal and cardinal numbers, negative numbers, and very large numbers. + +The main subroutine, which is exported by default, is words2nums(). This +subroutine, when fed a string, will attempt to convert it into a number. If it +succeeds, the number will be returned. If it fails, it returns undef. + +WWW: http://search.cpan.org/dist/Lingua-EN-Words2Nums/ Added: head/textproc/p5-Lingua-EN-Words2Nums/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Lingua-EN-Words2Nums/pkg-plist Sun Sep 30 04:10:35 2012 (r305065) @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Lingua/EN/Words2Nums.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Words2Nums/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Words2Nums +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua +@dirrmtry %%SITE_PERL%%/Lingua/EN +@dirrmtry %%SITE_PERL%%/Lingua