pkgsrc/textproc/p5-Lingua-EN-Words2Nums/Makefile
sno 7850d3635c Adding package for CPAN distribution Lingua-EN-Words2Nums version 0.18
into textproc/p5-Lingua-EN-Words2Nums.

This module 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.
2013-07-03 16:06:25 +00:00

22 lines
623 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/07/03 16:06:25 sno Exp $
DISTNAME= Lingua-EN-Words2Nums-0.18
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-Words2Nums/
COMMENT= Perl module to convert English text to numbers
LICENSE= ${PERL5_LICENSE}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Lingua/EN/Words2Nums/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
# TODO: also package Lingua-DE-Sentence, Lingua-HE-Sentence