aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-09-30 04:10:35 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-09-30 04:10:35 +0000
commit2c48e40f63a7e4710c286be7ef5a6e4dbd63cafc (patch)
tree71db4f49c508e7d923feec278dfad3ac1da82e99 /textproc
parent8f5d1497ab7d0df2b93a54d733d810486cf0596f (diff)
downloadports-2c48e40f63a7e4710c286be7ef5a6e4dbd63cafc.tar.gz
ports-2c48e40f63a7e4710c286be7ef5a6e4dbd63cafc.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-EN-Words2Nums/Makefile20
-rw-r--r--textproc/p5-Lingua-EN-Words2Nums/distinfo2
-rw-r--r--textproc/p5-Lingua-EN-Words2Nums/pkg-descr8
-rw-r--r--textproc/p5-Lingua-EN-Words2Nums/pkg-plist7
5 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3ea9e32c2a29..d8a79cdc5f97 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
diff --git a/textproc/p5-Lingua-EN-Words2Nums/Makefile b/textproc/p5-Lingua-EN-Words2Nums/Makefile
new file mode 100644
index 000000000000..16c2e683433e
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Words2Nums/Makefile
@@ -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>
diff --git a/textproc/p5-Lingua-EN-Words2Nums/distinfo b/textproc/p5-Lingua-EN-Words2Nums/distinfo
new file mode 100644
index 000000000000..f97568daceab
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Words2Nums/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Lingua-EN-Words2Nums-0.18.tar.gz) = 686556797cd2a4eaa066f19bbf03ab25c06278292c9ead2f187dfd9031ea1d85
+SIZE (Lingua-EN-Words2Nums-0.18.tar.gz) = 7417
diff --git a/textproc/p5-Lingua-EN-Words2Nums/pkg-descr b/textproc/p5-Lingua-EN-Words2Nums/pkg-descr
new file mode 100644
index 000000000000..6e7aa127ab23
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Words2Nums/pkg-descr
@@ -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/
diff --git a/textproc/p5-Lingua-EN-Words2Nums/pkg-plist b/textproc/p5-Lingua-EN-Words2Nums/pkg-plist
new file mode 100644
index 000000000000..4f5a6d275f8a
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Words2Nums/pkg-plist
@@ -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