git: 392abcf58a11 - main - Add devel/p5-Text-Levenshtein-Damerau-XS: XS Damerau Levenshtein edit distance
Date: Sat, 22 Oct 2022 17:22:55 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=392abcf58a119648238a49ed278725547f534183 commit 392abcf58a119648238a49ed278725547f534183 Author: Martin Neubauer <m.ne@gmx.net> AuthorDate: 2022-10-12 23:46:52 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-10-22 17:22:33 +0000 Add devel/p5-Text-Levenshtein-Damerau-XS: XS Damerau Levenshtein edit distance PR: 267047 --- devel/Makefile | 1 + devel/distinfo | 3 +++ devel/p5-Text-Levenshtein-Damerau-XS/Makefile | 20 ++++++++++++++++++++ devel/p5-Text-Levenshtein-Damerau-XS/distinfo | 3 +++ devel/p5-Text-Levenshtein-Damerau-XS/pkg-descr | 3 +++ devel/p5-Text-Levenshtein-Damerau-XS/pkg-plist | 3 +++ devel/pkg-descr | 3 +++ devel/pkg-plist | 3 +++ 8 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2aa1fcb8b6e2..afee439bec2b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/distinfo b/devel/distinfo new file mode 100644 index 000000000000..6f58ceab09e6 --- /dev/null +++ b/devel/distinfo @@ -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 diff --git a/devel/p5-Text-Levenshtein-Damerau-XS/Makefile b/devel/p5-Text-Levenshtein-Damerau-XS/Makefile new file mode 100644 index 000000000000..0afb85805865 --- /dev/null +++ b/devel/p5-Text-Levenshtein-Damerau-XS/Makefile @@ -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> diff --git a/devel/p5-Text-Levenshtein-Damerau-XS/distinfo b/devel/p5-Text-Levenshtein-Damerau-XS/distinfo new file mode 100644 index 000000000000..6f58ceab09e6 --- /dev/null +++ b/devel/p5-Text-Levenshtein-Damerau-XS/distinfo @@ -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 diff --git a/devel/p5-Text-Levenshtein-Damerau-XS/pkg-descr b/devel/p5-Text-Levenshtein-Damerau-XS/pkg-descr new file mode 100644 index 000000000000..0008715a8616 --- /dev/null +++ b/devel/p5-Text-Levenshtein-Damerau-XS/pkg-descr @@ -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. diff --git a/devel/p5-Text-Levenshtein-Damerau-XS/pkg-plist b/devel/p5-Text-Levenshtein-Damerau-XS/pkg-plist new file mode 100644 index 000000000000..588075029573 --- /dev/null +++ b/devel/p5-Text-Levenshtein-Damerau-XS/pkg-plist @@ -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 diff --git a/devel/pkg-descr b/devel/pkg-descr new file mode 100644 index 000000000000..0008715a8616 --- /dev/null +++ b/devel/pkg-descr @@ -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. diff --git a/devel/pkg-plist b/devel/pkg-plist new file mode 100644 index 000000000000..588075029573 --- /dev/null +++ b/devel/pkg-plist @@ -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