summaryrefslogtreecommitdiff
path: root/textproc/p5-marisa/Makefile
diff options
context:
space:
mode:
authorobache <obache>2014-05-24 10:21:13 +0000
committerobache <obache>2014-05-24 10:21:13 +0000
commita844ed1faf5ef58794fba3b9c60ccc6f49a8090f (patch)
tree96a4c003ee116c0c164e864aed5d5da838149108 /textproc/p5-marisa/Makefile
parent0de0f77199b1a2e64a1d7327a701311d5af0b708 (diff)
downloadpkgsrc-a844ed1faf5ef58794fba3b9c60ccc6f49a8090f.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/Makefile')
-rw-r--r--textproc/p5-marisa/Makefile23
1 files changed, 23 insertions, 0 deletions
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"