FreeBSD Bugzilla – Attachment 237296 Details for
Bug 267046
[NEW PORT] devel/p5-String-KeyboardDistance: String Comparison Algorithm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch adding devel/p5-String-KeyboardDistance
0001-devel-p5-String-KeyboardDistance-New-port-String-Key.patch (text/plain), 3.18 KB, created by
Martin Neubauer
on 2022-10-14 10:52:10 UTC
(
hide
)
Description:
patch adding devel/p5-String-KeyboardDistance
Filename:
MIME Type:
Creator:
Martin Neubauer
Created:
2022-10-14 10:52:10 UTC
Size:
3.18 KB
patch
obsolete
>From e62f9bc2a0ad9bf127ea7821809c4bb046b2db36 Mon Sep 17 00:00:00 2001 >From: Martin Neubauer <m.ne@gmx.net> >Date: Thu, 13 Oct 2022 01:41:22 +0200 >Subject: [PATCH] devel/p5-String-KeyboardDistance: New port: > String::KeyboardDistance - String Comparison Algorithm > >--- > devel/Makefile | 1 + > devel/p5-String-KeyboardDistance/Makefile | 17 +++++++++++++++++ > devel/p5-String-KeyboardDistance/distinfo | 3 +++ > devel/p5-String-KeyboardDistance/pkg-descr | 7 +++++++ > devel/p5-String-KeyboardDistance/pkg-plist | 2 ++ > 5 files changed, 30 insertions(+) > create mode 100644 devel/p5-String-KeyboardDistance/Makefile > create mode 100644 devel/p5-String-KeyboardDistance/distinfo > create mode 100644 devel/p5-String-KeyboardDistance/pkg-descr > create mode 100644 devel/p5-String-KeyboardDistance/pkg-plist > >diff --git a/devel/Makefile b/devel/Makefile >index 63389fa09505..7fdbc502c68f 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -3282,6 +3282,7 @@ > SUBDIR += p5-String-Errf > SUBDIR += p5-String-Formatter > SUBDIR += p5-String-Interpolate-Named >+ SUBDIR += p5-String-KeyboardDistance > SUBDIR += p5-String-LRC > SUBDIR += p5-String-Parity > SUBDIR += p5-String-Random >diff --git a/devel/p5-String-KeyboardDistance/Makefile b/devel/p5-String-KeyboardDistance/Makefile >new file mode 100644 >index 000000000000..7a92d282266c >--- /dev/null >+++ b/devel/p5-String-KeyboardDistance/Makefile >@@ -0,0 +1,17 @@ >+PORTNAME= String-KeyboardDistance >+PORTVERSION= 1.01 >+CATEGORIES= devel perl5 >+MASTER_SITES= CPAN >+MASTER_SITE_SUBDIR= CPAN:KRBURTON >+PKGNAMEPREFIX= p5- >+ >+MAINTAINER= m.ne@gmx.net >+COMMENT= String::KeyboardDistance - String Comparison Algorithm >+WWW= https://metacpan.org/dist/String-KeyboardDistance >+ >+USES= perl5 >+USE_PERL5= configure >+ >+NO_ARCH= yes >+ >+.include <bsd.port.mk> >diff --git a/devel/p5-String-KeyboardDistance/distinfo b/devel/p5-String-KeyboardDistance/distinfo >new file mode 100644 >index 000000000000..cf855833ddde >--- /dev/null >+++ b/devel/p5-String-KeyboardDistance/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1665546379 >+SHA256 (String-KeyboardDistance-1.01.tar.gz) = 60885f1f25d77568665c76dc89b587481a7ba94e4caee252297222bfe5adea70 >+SIZE (String-KeyboardDistance-1.01.tar.gz) = 6739 >diff --git a/devel/p5-String-KeyboardDistance/pkg-descr b/devel/p5-String-KeyboardDistance/pkg-descr >new file mode 100644 >index 000000000000..aa700f3623d9 >--- /dev/null >+++ b/devel/p5-String-KeyboardDistance/pkg-descr >@@ -0,0 +1,7 @@ >+This module implmements a version of keyboard distance for fuzzy >+string matching. Keyboard distance is a measure of the physical >+distance between two keys on a keyboard. For example, 'g' has a >+distance of 1 from the keys 'r', 't', 'y', 'f', 'h', 'v', 'b', and >+'n'. Immediate diagonals (like ''r, 'y', 'v', and 'n') are considered >+to have a distance of 1 instead of 1.414 to help to prevent >+horizontal/vertical bias. >diff --git a/devel/p5-String-KeyboardDistance/pkg-plist b/devel/p5-String-KeyboardDistance/pkg-plist >new file mode 100644 >index 000000000000..777b8cbab96c >--- /dev/null >+++ b/devel/p5-String-KeyboardDistance/pkg-plist >@@ -0,0 +1,2 @@ >+%%SITE_PERL%%/String/KeyboardDistance.pm >+%%PERL5_MAN3%%/String::KeyboardDistance.3.gz >-- >2.38.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267046
: 237296