aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-31 13:20:36 +0800
committerwill <will@FreeBSD.org>2000-12-31 13:20:36 +0800
commit5c232e576d828cc9c70191d1f5e88bad64b4e005 (patch)
treebce9eb2139dd364b553c685ab4a2b48dd7625e6d /textproc
parent168e89506c8a1fdce7459fff818c28e5e3678c9b (diff)
downloadfreebsd-ports-graphics-5c232e576d828cc9c70191d1f5e88bad64b4e005.tar.gz
freebsd-ports-graphics-5c232e576d828cc9c70191d1f5e88bad64b4e005.tar.zst
freebsd-ports-graphics-5c232e576d828cc9c70191d1f5e88bad64b4e005.zip
Add p5-Text-DoubleMetaphone 0.04, a perl module for phonetic encoding
of words. PR: 23926 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-DoubleMetaphone/Makefile23
-rw-r--r--textproc/p5-Text-DoubleMetaphone/distinfo1
-rw-r--r--textproc/p5-Text-DoubleMetaphone/pkg-comment1
-rw-r--r--textproc/p5-Text-DoubleMetaphone/pkg-descr7
-rw-r--r--textproc/p5-Text-DoubleMetaphone/pkg-plist8
6 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5429cf91e57..fc12e456fc1 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -75,6 +75,7 @@
SUBDIR += p5-Text-Autoformat
SUBDIR += p5-Text-Bind
SUBDIR += p5-Text-CSV_XS
+ SUBDIR += p5-Text-DoubleMetaphone
SUBDIR += p5-Text-Template
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-Parser
diff --git a/textproc/p5-Text-DoubleMetaphone/Makefile b/textproc/p5-Text-DoubleMetaphone/Makefile
new file mode 100644
index 00000000000..bf15bfcf533
--- /dev/null
+++ b/textproc/p5-Text-DoubleMetaphone/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/p5-Text-DoubleMetaphone
+# Date created: 29 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-DoubleMetaphone
+PORTVERSION= 0.04
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Text::DoubleMetaphone.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-DoubleMetaphone/distinfo b/textproc/p5-Text-DoubleMetaphone/distinfo
new file mode 100644
index 00000000000..bbf1ec2474e
--- /dev/null
+++ b/textproc/p5-Text-DoubleMetaphone/distinfo
@@ -0,0 +1 @@
+MD5 (Text-DoubleMetaphone-0.04.tar.gz) = ffa435709f0404ccd112ec4a38a71508
diff --git a/textproc/p5-Text-DoubleMetaphone/pkg-comment b/textproc/p5-Text-DoubleMetaphone/pkg-comment
new file mode 100644
index 00000000000..69a8fb6f4af
--- /dev/null
+++ b/textproc/p5-Text-DoubleMetaphone/pkg-comment
@@ -0,0 +1 @@
+Phonetic encoding of words
diff --git a/textproc/p5-Text-DoubleMetaphone/pkg-descr b/textproc/p5-Text-DoubleMetaphone/pkg-descr
new file mode 100644
index 00000000000..d6185559292
--- /dev/null
+++ b/textproc/p5-Text-DoubleMetaphone/pkg-descr
@@ -0,0 +1,7 @@
+This module implements a "sounds like" algorithm developed by Lawrence
+Philips which he published in the June, 2000 issue of C/C++ Users
+Journal. Double Metaphone is an improved version of Philips' original
+Metaphone algorithm.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-DoubleMetaphone/pkg-plist b/textproc/p5-Text-DoubleMetaphone/pkg-plist
new file mode 100644
index 00000000000..675a1088944
--- /dev/null
+++ b/textproc/p5-Text-DoubleMetaphone/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DoubleMetaphone/DoubleMetaphone.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DoubleMetaphone/DoubleMetaphone.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DoubleMetaphone/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DoubleMetaphone/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/DoubleMetaphone.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DoubleMetaphone
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text 2>/dev/null || true