aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-02-23 18:08:10 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-02-23 18:08:10 +0800
commit3b7ea1f24f4deb955d9da1ec356bd4b923fd80fc (patch)
tree9f6231b2212e59d301befa94b67d67ed8e0756ce /textproc
parent411f735f55102312a0eb79bdf4a254604f7faf1f (diff)
downloadfreebsd-ports-gnome-3b7ea1f24f4deb955d9da1ec356bd4b923fd80fc.tar.gz
freebsd-ports-gnome-3b7ea1f24f4deb955d9da1ec356bd4b923fd80fc.tar.zst
freebsd-ports-gnome-3b7ea1f24f4deb955d9da1ec356bd4b923fd80fc.zip
- Add p5-Text-Soundex 3.04
Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for names with the same pronunciation to be encoded to the same representation so that they can be matched despite minor differences in spelling. Soundex is the most widely known of all phonetic algorithms and is often used (incorrectly) as a synonym for "phonetic algorithm". Improvements to Soundex are the basis for many modern phonetic algorithms. (Wikipedia, 2007) Text::Soundex implements the original soundex algorithm developed by Robert Russell and Margaret Odell, patented in 1918 and 1922, as well as a variation called "American Soundex" used for US census data, and current maintained by the National Archives and Records Administration (NARA). The soundex algorithm may be recognized from Donald Knuth's The Art of Computer Programming. The algorithm described by Knuth is the NARA algorithm. WWW: http://search.cpan.org/dist/Text-Soundex/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Soundex/Makefile16
-rw-r--r--textproc/p5-Text-Soundex/distinfo2
-rw-r--r--textproc/p5-Text-Soundex/pkg-descr16
-rw-r--r--textproc/p5-Text-Soundex/pkg-plist3
5 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8550d04c1c33..fbf9b25e801f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -858,6 +858,7 @@
SUBDIR += p5-Text-Similarity
SUBDIR += p5-Text-SimpleTable
SUBDIR += p5-Text-SimpleTemplate
+ SUBDIR += p5-Text-Soundex
SUBDIR += p5-Text-SpellChecker
SUBDIR += p5-Text-SpellChecker-GUI
SUBDIR += p5-Text-Striphigh
diff --git a/textproc/p5-Text-Soundex/Makefile b/textproc/p5-Text-Soundex/Makefile
new file mode 100644
index 000000000000..ec128884a159
--- /dev/null
+++ b/textproc/p5-Text-Soundex/Makefile
@@ -0,0 +1,16 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Text-Soundex
+PORTVERSION= 3.04
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Implementation of the soundex algorithm
+
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Soundex/distinfo b/textproc/p5-Text-Soundex/distinfo
new file mode 100644
index 000000000000..f8364b2ce6e5
--- /dev/null
+++ b/textproc/p5-Text-Soundex/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-Soundex-3.04.tar.gz) = 2e56bb4324ee0186b908b3bd78463643affe7295624af0628e81491e910283d9
+SIZE (Text-Soundex-3.04.tar.gz) = 9024
diff --git a/textproc/p5-Text-Soundex/pkg-descr b/textproc/p5-Text-Soundex/pkg-descr
new file mode 100644
index 000000000000..63302e6fa198
--- /dev/null
+++ b/textproc/p5-Text-Soundex/pkg-descr
@@ -0,0 +1,16 @@
+Soundex is a phonetic algorithm for indexing names by sound, as pronounced in
+English. The goal is for names with the same pronunciation to be encoded to the
+same representation so that they can be matched despite minor differences in
+spelling. Soundex is the most widely known of all phonetic algorithms and is
+often used (incorrectly) as a synonym for "phonetic algorithm". Improvements to
+Soundex are the basis for many modern phonetic algorithms. (Wikipedia, 2007)
+
+Text::Soundex implements the original soundex algorithm developed by Robert
+Russell and Margaret Odell, patented in 1918 and 1922, as well as a variation
+called "American Soundex" used for US census data, and current maintained by the
+National Archives and Records Administration (NARA).
+
+The soundex algorithm may be recognized from Donald Knuth's The Art of Computer
+Programming. The algorithm described by Knuth is the NARA algorithm.
+
+WWW: http://search.cpan.org/dist/Text-Soundex/
diff --git a/textproc/p5-Text-Soundex/pkg-plist b/textproc/p5-Text-Soundex/pkg-plist
new file mode 100644
index 000000000000..7e7bdbdbec2b
--- /dev/null
+++ b/textproc/p5-Text-Soundex/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Text/Soundex.pm
+%%SITE_ARCH%%/auto/Text/Soundex/Soundex.so
+%%PERL5_MAN3%%/Text::Soundex.3.gz