summaryrefslogtreecommitdiff
path: root/textproc/p5-Xapian
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-07-10 17:34:04 +0000
committerschmonz <schmonz@pkgsrc.org>2017-07-10 17:34:04 +0000
commit368f18f88a1e2a0e891df4573ad0fbde2e72529b (patch)
tree2316ca346694bf3ee7192ac585ce744689aaae0d /textproc/p5-Xapian
parent6fe5a6d2bdcc2cfb7f9046d732d11340aee408b3 (diff)
downloadpkgsrc-368f18f88a1e2a0e891df4573ad0fbde2e72529b.tar.gz
Add Xapian language bindings for C#, Lua, Perl, PHP, Python, Ruby, and Tcl.
Diffstat (limited to 'textproc/p5-Xapian')
-rw-r--r--textproc/p5-Xapian/Makefile21
-rw-r--r--textproc/p5-Xapian/PLIST57
2 files changed, 78 insertions, 0 deletions
diff --git a/textproc/p5-Xapian/Makefile b/textproc/p5-Xapian/Makefile
new file mode 100644
index 00000000000..a723769d0f7
--- /dev/null
+++ b/textproc/p5-Xapian/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME= p5-${PKGNAME_MODULE:S/^x/X/}
+COMMENT= Perl bindings for Xapian search engine
+HOMEPAGE= https://xapian.org/docs/bindings/perl/
+
+USE_TOOLS+= perl
+
+CONFIGURE_ARGS+= --with-perl
+CONFIGURE_ENV+= PERL_ARCH=${PERL5_INSTALLVENDORARCH:Q}
+CONFIGURE_ENV+= PERL_LIB=${PERL5_INSTALLVENDORLIB:Q}
+
+REPLACE_PERL= perl/docs/examples/*.pl
+
+post-install:
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/perl/examples/*.pl
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../lang/perl5/dirs.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Xapian/PLIST b/textproc/p5-Xapian/PLIST
new file mode 100644
index 00000000000..8bf53876604
--- /dev/null
+++ b/textproc/p5-Xapian/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/AssertionError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/BM25Weight.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/BoolWeight.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Database.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseCorruptError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseCreateError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseLockError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseModifiedError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseOpeningError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DatabaseVersionError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/DocNotFoundError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Document.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/ESet.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/ESetIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Enquire.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Error.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/FeatureUnavailableError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/InternalError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/InvalidArgumentError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/InvalidOperationError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/LogicError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/MSet.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/MSetIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/MultiValueSorter.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/NetworkError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/NetworkTimeoutError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PerlStopper.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PositionIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/PostingIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Query.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/QueryParser.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/QueryParserError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/RSet.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/RangeError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/RuntimeError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/SimpleStopper.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Stem.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Stopper.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/TermGenerator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/TermIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/TradWeight.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/UnimplementedError.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/ValueIterator.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Weight.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Xapian/WritableDatabase.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Xapian/Xapian.a
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Xapian/Xapian.bundle
+share/doc/xapian-bindings/perl/examples/full-indexer.pl
+share/doc/xapian-bindings/perl/examples/full-searcher.pl
+share/doc/xapian-bindings/perl/examples/simpleexpand.pl
+share/doc/xapian-bindings/perl/examples/simpleindex.pl
+share/doc/xapian-bindings/perl/examples/simplematchdecider.pl
+share/doc/xapian-bindings/perl/examples/simplesearch.pl
+share/doc/xapian-bindings/perl/index.html