diff --git a/textproc/Makefile b/textproc/Makefile index 39232c269da7..af17f7ea7d76 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -880,6 +880,7 @@ SUBDIR += p5-UML-Sequence SUBDIR += p5-UML-State SUBDIR += p5-URI-Find + SUBDIR += p5-Unicode-CaseFold SUBDIR += p5-Unicode-CheckUTF8 SUBDIR += p5-Unicode-Collate SUBDIR += p5-Unicode-EastAsianWidth diff --git a/textproc/p5-Unicode-CaseFold/Makefile b/textproc/p5-Unicode-CaseFold/Makefile new file mode 100644 index 000000000000..1b9c7ba8b60c --- /dev/null +++ b/textproc/p5-Unicode-CaseFold/Makefile @@ -0,0 +1,32 @@ +# Created by: Frederic Culot +# $FreeBSD$ + +PORTNAME= Unicode-CaseFold +PORTVERSION= 1.00 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ARODLAND +PKGNAMEPREFIX= p5- + +MAINTAINER= culot@FreeBSD.org +COMMENT= Unicode case-folding for case-insensitive lookups + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= modbuild + +PLIST_FILES= %%SITE_PERL%%/%%PERL_ARCH%%/Unicode/CaseFold.pm \ + %%SITE_PERL%%/%%PERL_ARCH%%/Unicode/CaseFoldPP.pm \ + %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CaseFold/CaseFold.so \ + %%PERL5_MAN3%%/Unicode::CaseFold.3.gz + +PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CaseFold +PLIST_DIRSTRY= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode \ + %%SITE_PERL%%/%%PERL_ARCH%%/Unicode + +post-install: + ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Unicode/CaseFold/CaseFold.so + +.include diff --git a/textproc/p5-Unicode-CaseFold/distinfo b/textproc/p5-Unicode-CaseFold/distinfo new file mode 100644 index 000000000000..0849089adaaf --- /dev/null +++ b/textproc/p5-Unicode-CaseFold/distinfo @@ -0,0 +1,2 @@ +SHA256 (Unicode-CaseFold-1.00.tar.gz) = c489b5a440e84b0554e866d3fe4077fa1956eeed473e203588e0c24acce1f016 +SIZE (Unicode-CaseFold-1.00.tar.gz) = 65145 diff --git a/textproc/p5-Unicode-CaseFold/pkg-descr b/textproc/p5-Unicode-CaseFold/pkg-descr new file mode 100644 index 000000000000..a85c2925cd44 --- /dev/null +++ b/textproc/p5-Unicode-CaseFold/pkg-descr @@ -0,0 +1,6 @@ +This module allows to perform case-insensitive lookups using case-folding. +Case-folding is a part of the Unicode standard that allows any two strings +that differ from one another only by case to map to the same "case-folded" +form, even when those strings include characters with complex case-mappings. + +WWW: http://search.cpan.org/dist/Unicode-CaseFold/