Add devel/p5-Text-Levenshtein-Damerau-XS: XS Damerau Levenshtein edit distance

PR:		267047
This commit is contained in:
Martin Neubauer 2022-10-13 01:46:52 +02:00 committed by Li-Wen Hsu
parent 05790c362c
commit 392abcf58a
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF
8 changed files with 39 additions and 0 deletions

View File

@ -3573,6 +3573,7 @@
SUBDIR += p5-Test2-Tools-MemoryCycle
SUBDIR += p5-Text-Levenshtein
SUBDIR += p5-Text-Levenshtein-Damerau
SUBDIR += p5-Text-Levenshtein-Damerau-XS
SUBDIR += p5-Text-LevenshteinXS
SUBDIR += p5-Text-Outdent
SUBDIR += p5-Text-vFile-asData

3
devel/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1665547580
SHA256 (Text-Levenshtein-Damerau-XS-3.2.tar.gz) = 154e376a909cb358cafe8571d02832f25838bd7dd11df3f87b619fd81eeb59fe
SIZE (Text-Levenshtein-Damerau-XS-3.2.tar.gz) = 14136

View File

@ -0,0 +1,20 @@
PORTNAME= Text-Levenshtein-Damerau-XS
PORTVERSION= 3.2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= m.ne@gmx.net
COMMENT= Damerau Levenshtein edit distance
WWW= https://metacpan.org/dist/Text-Levenshtein-Damerau-XS
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Text/Levenshtein/Damerau/XS/XS.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1665547580
SHA256 (Text-Levenshtein-Damerau-XS-3.2.tar.gz) = 154e376a909cb358cafe8571d02832f25838bd7dd11df3f87b619fd81eeb59fe
SIZE (Text-Levenshtein-Damerau-XS-3.2.tar.gz) = 14136

View File

@ -0,0 +1,3 @@
Returns the true Damerau Levenshtein edit distance of strings with
adjacent transpositions. XS implementation (requires a C compiler).
Works correctly with utf8.

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/Text/Levenshtein/Damerau/XS.pm
%%SITE_ARCH%%/auto/Text/Levenshtein/Damerau/XS/XS.so
%%PERL5_MAN3%%/Text::Levenshtein::Damerau::XS.3.gz

3
devel/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Returns the true Damerau Levenshtein edit distance of strings with
adjacent transpositions. XS implementation (requires a C compiler).
Works correctly with utf8.

3
devel/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/Text/Levenshtein/Damerau/XS.pm
%%SITE_ARCH%%/auto/Text/Levenshtein/Damerau/XS/XS.so
%%PERL5_MAN3%%/Text::Levenshtein::Damerau::XS.3.gz