summaryrefslogtreecommitdiff
path: root/textproc/ruby-marisa
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-24 10:21:13 +0000
committerobache <obache@pkgsrc.org>2014-05-24 10:21:13 +0000
commite389ae10b66597eae31322396f41359b921fbf65 (patch)
tree96a4c003ee116c0c164e864aed5d5da838149108 /textproc/ruby-marisa
parent41266b46a5d62ba7e5e33e551c5709bcab3b5420 (diff)
downloadpkgsrc-e389ae10b66597eae31322396f41359b921fbf65.tar.gz
Import marisa-0.2.4 and bindings as textproc/{,p5-,py-,ruby-}marisa
Packaged by ISIHARA TAkanori in pkgsrc-wip. Matching Algorithm with Recursively Implemented StorAge (MARISA) is a static and space-efficient trie data structure. And libmarisa is a C++ library to provide an implementation of MARISA. Also, the package of libmarisa contains a set of command line tools for building and operating a MARISA-based dictionary.
Diffstat (limited to 'textproc/ruby-marisa')
-rw-r--r--textproc/ruby-marisa/DESCR7
-rw-r--r--textproc/ruby-marisa/Makefile18
-rw-r--r--textproc/ruby-marisa/PLIST2
3 files changed, 27 insertions, 0 deletions
diff --git a/textproc/ruby-marisa/DESCR b/textproc/ruby-marisa/DESCR
new file mode 100644
index 00000000000..538ee469d66
--- /dev/null
+++ b/textproc/ruby-marisa/DESCR
@@ -0,0 +1,7 @@
+Matching Algorithm with Recursively Implemented StorAge (MARISA) is a
+static and space-efficient trie data structure. And libmarisa is a C++
+library to provide an implementation of MARISA. Also, the package of
+libmarisa contains a set of command line tools for building and
+operating a MARISA-based dictionary.
+
+This package is ruby module for MARISA.
diff --git a/textproc/ruby-marisa/Makefile b/textproc/ruby-marisa/Makefile
new file mode 100644
index 00000000000..7001500c9f2
--- /dev/null
+++ b/textproc/ruby-marisa/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/05/24 10:21:13 obache Exp $
+#
+
+.include "../../textproc/marisa/Makefile.common"
+
+CATEGORIES+= ruby
+
+COMMENT= MARISA ruby module
+
+USE_LANGUAGES= c c++
+
+USE_RUBY_EXTCONF= yes
+RUBY_EXTCONF_SUBDIRS= bindings/ruby
+
+BUILDLINK_API_DEPENDS.marisa+= marisa>=${PKGVERSION_NOREV}
+.include "../../textproc/marisa/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-marisa/PLIST b/textproc/ruby-marisa/PLIST
new file mode 100644
index 00000000000..dc4bbd05d97
--- /dev/null
+++ b/textproc/ruby-marisa/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/24 10:21:13 obache Exp $
+${RUBY_VENDORARCHLIB}/marisa.${RUBY_DLEXT}