Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 04:10:36 +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: r305065 - in head/textproc: . p5-Lingua-EN-Words2Nums
Message-ID:  <201209300410.q8U4AaNO056515@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org>
+# $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 <bsd.port.mk>

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



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