diff options
author | sno <sno@pkgsrc.org> | 2013-07-03 16:11:42 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2013-07-03 16:11:42 +0000 |
commit | f4618babfad1ebc5690cdd8c596cdd9e629392cf (patch) | |
tree | 60454afe0520c8c580803d575fd25dc9bd0938d5 /textproc | |
parent | a722a507abd8240ca71a587575cfa239e668a428 (diff) | |
download | pkgsrc-f4618babfad1ebc5690cdd8c596cdd9e629392cf.tar.gz |
Adding package for CPAN distribution Lingua-EN-Number-IsOrdinal version
0.04 into textproc/p5-Lingua-EN-Number-IsOrdinal.
This module will tell you if a number, either in words or as digits, is a
cardinal or ordinal number.
This is useful if you e.g. want to distinguish these types of numbers found
with Lingua::EN::FindNumber and take different actions.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR | 5 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile | 27 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo | 5 |
3 files changed, 37 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR b/textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR new file mode 100644 index 00000000000..0eacf185357 --- /dev/null +++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR @@ -0,0 +1,5 @@ +This module will tell you if a number, either in words or as digits, is a +cardinal or ordinal number. + +This is useful if you e.g. want to distinguish these types of numbers found +with Lingua::EN::FindNumber and take different actions. diff --git a/textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile b/textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile new file mode 100644 index 00000000000..566f3b0d304 --- /dev/null +++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2013/07/03 16:11:42 sno Exp $ + +DISTNAME= Lingua-EN-Number-IsOrdinal-0.04 +PKGNAME= p5-${DISTNAME} +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Lingua/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Lingua-EN-Number-IsOrdinal/ +COMMENT= Perl module to detect if English number is ordinal or cardinal +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Lingua-EN-FindNumber-[0-9]*:../../textproc/p5-Lingua-EN-FindNumber + +BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal +BUILD_DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LANGUAGES= # empty + +PERL5_PACKLIST= auto/Lingua/EN/Number/IsOrdinal/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" + +# TODO: also package Lingua-DE-Sentence, Lingua-HE-Sentence diff --git a/textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo b/textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo new file mode 100644 index 00000000000..7b1eaf1d88b --- /dev/null +++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/07/03 16:11:42 sno Exp $ + +SHA1 (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = 4824e31cd634cf39dfb45e5e2b380fc7524a30f9 +RMD160 (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = ee36dc06fa5bba05978ad6e270c28f0c67293010 +Size (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = 11367 bytes |