summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache>2013-04-21 12:27:11 +0000
committerobache <obache>2013-04-21 12:27:11 +0000
commit0dfeafe0ed0f3fbbbabe5f6ed5676d63750a589d (patch)
tree47de26c4a6333c8ca3e5daeeda79d62122e41a3e /textproc
parentc12199dbb2da7043b657c42bd7320782aed775ee (diff)
downloadpkgsrc-0dfeafe0ed0f3fbbbabe5f6ed5676d63750a589d.tar.gz
Import ruby-text-1.2.1 as textproc/ruby-text.
A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-text/DESCR2
-rw-r--r--textproc/ruby-text/Makefile12
-rw-r--r--textproc/ruby-text/PLIST29
-rw-r--r--textproc/ruby-text/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/ruby-text/DESCR b/textproc/ruby-text/DESCR
new file mode 100644
index 00000000000..5e9495831cd
--- /dev/null
+++ b/textproc/ruby-text/DESCR
@@ -0,0 +1,2 @@
+A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double
+Metaphone, Porter Stemming
diff --git a/textproc/ruby-text/Makefile b/textproc/ruby-text/Makefile
new file mode 100644
index 00000000000..de9908c30b4
--- /dev/null
+++ b/textproc/ruby-text/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2013/04/21 12:27:11 obache Exp $
+
+DISTNAME= text-1.2.1
+CATEGORIES= textproc
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= https://github.com/threedaymonk/text
+COMMENT= Collection of text algorithms for Ruby
+LICENSE= ruby-license
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-text/PLIST b/textproc/ruby-text/PLIST
new file mode 100644
index 00000000000..71041f0514c
--- /dev/null
+++ b/textproc/ruby-text/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/21 12:27:11 obache Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/text.rb
+${GEM_LIBDIR}/lib/text/double_metaphone.rb
+${GEM_LIBDIR}/lib/text/levenshtein.rb
+${GEM_LIBDIR}/lib/text/metaphone.rb
+${GEM_LIBDIR}/lib/text/porter_stemming.rb
+${GEM_LIBDIR}/lib/text/soundex.rb
+${GEM_LIBDIR}/lib/text/version.rb
+${GEM_LIBDIR}/lib/text/white_similarity.rb
+${GEM_LIBDIR}/test/data/big.txt
+${GEM_LIBDIR}/test/data/chunky.flf
+${GEM_LIBDIR}/test/data/chunky.txt
+${GEM_LIBDIR}/test/data/double_metaphone.csv
+${GEM_LIBDIR}/test/data/metaphone.txt
+${GEM_LIBDIR}/test/data/metaphone_buggy.txt
+${GEM_LIBDIR}/test/data/porter_stemming_input.txt
+${GEM_LIBDIR}/test/data/porter_stemming_output.txt
+${GEM_LIBDIR}/test/preamble.rb
+${GEM_LIBDIR}/test/test_double_metaphone.rb
+${GEM_LIBDIR}/test/test_levenshtein.rb
+${GEM_LIBDIR}/test/test_metaphone.rb
+${GEM_LIBDIR}/test/test_porter_stemming.rb
+${GEM_LIBDIR}/test/test_soundex.rb
+${GEM_LIBDIR}/test/test_text.rb
+${GEM_LIBDIR}/test/test_white_similarity.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/textproc/ruby-text/distinfo b/textproc/ruby-text/distinfo
new file mode 100644
index 00000000000..d60ced81be5
--- /dev/null
+++ b/textproc/ruby-text/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/21 12:27:11 obache Exp $
+
+SHA1 (text-1.2.1.gem) = 41c196e5e93288aa3c4d9357c540b6d6cd33aa28
+RMD160 (text-1.2.1.gem) = 773844ff7d3e689a509f9eb3ec203656dd097681
+Size (text-1.2.1.gem) = 136704 bytes