summaryrefslogtreecommitdiff
path: root/textproc/p5-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/p5-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/p5-marisa')
-rw-r--r--textproc/p5-marisa/DESCR7
-rw-r--r--textproc/p5-marisa/Makefile23
2 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-marisa/DESCR b/textproc/p5-marisa/DESCR
new file mode 100644
index 00000000000..890b7b6783a
--- /dev/null
+++ b/textproc/p5-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 perl module for MARISA.
diff --git a/textproc/p5-marisa/Makefile b/textproc/p5-marisa/Makefile
new file mode 100644
index 00000000000..265995ac824
--- /dev/null
+++ b/textproc/p5-marisa/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/05/24 10:21:13 obache Exp $
+#
+
+.include "../../textproc/marisa/Makefile.common"
+
+PKGNAME= p5-${DISTNAME}
+CATEGORIES+= perl5
+
+COMMENT= MARISA perl module
+
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS= bindings/perl
+
+PERL5_PACKLIST= auto/marisa/.packlist
+
+post-extract:
+ ${RM} ${WRKSRC}/bindings/perl/sample.pl
+
+BUILDLINK_API_DEPENDS.marisa+= marisa>=${PKGVERSION_NOREV}
+.include "../../textproc/marisa/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"