pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc Add Xapian language bindings for C#, Lua, Per...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a149f18b9bd
branches:  trunk
changeset: 365085:9a149f18b9bd
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 10 17:34:04 2017 +0000

description:
Add Xapian language bindings for C#, Lua, Perl, PHP, Python, Ruby, and Tcl.

diffstat:

 textproc/csharp-xapian/Makefile |  11 +++++++
 textproc/csharp-xapian/PLIST    |   9 +++++
 textproc/lua-xapian/Makefile    |  18 +++++++++++
 textproc/lua-xapian/PLIST       |   8 +++++
 textproc/p5-Xapian/Makefile     |  21 +++++++++++++
 textproc/p5-Xapian/PLIST        |  57 +++++++++++++++++++++++++++++++++++++
 textproc/php-xapian/Makefile    |  21 +++++++++++++
 textproc/php-xapian/PLIST       |   9 +++++
 textproc/py-xapian/Makefile     |  30 +++++++++++++++++++
 textproc/py-xapian/PLIST        |  50 ++++++++++++++++++++++++++++++++
 textproc/ruby-xapian/Makefile   |  16 ++++++++++
 textproc/ruby-xapian/PLIST      |  63 +++++++++++++++++++++++++++++++++++++++++
 textproc/tcl-xapian/Makefile    |  21 +++++++++++++
 textproc/tcl-xapian/PLIST       |   8 +++++
 14 files changed, 342 insertions(+), 0 deletions(-)

diffs (truncated from 398 to 300 lines):

diff -r b807e280e6b2 -r 9a149f18b9bd textproc/csharp-xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/csharp-xapian/Makefile   Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME=               csharp-${PKGNAME_MODULE}
+COMMENT=               C\# bindings for Xapian search engine
+HOMEPAGE=              https://xapian.org/docs/bindings/csharp/
+
+CONFIGURE_ARGS+=       --with-csharp
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/csharp-xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/csharp-xapian/PLIST      Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+lib/_XapianSharp.a
+lib/_XapianSharp.so
+lib/mono/XapianSharp/XapianSharp.dll
+lib/mono/gac/XapianSharp/${PKGVERSION}.0__7d35319790c0921d/XapianSharp.dll
+share/doc/xapian-bindings/csharp/examples/SimpleExpand.cs
+share/doc/xapian-bindings/csharp/examples/SimpleIndex.cs
+share/doc/xapian-bindings/csharp/examples/SimpleSearch.cs
+share/doc/xapian-bindings/csharp/index.html
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/lua-xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-xapian/Makefile      Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME=               ${LUA_PKGPREFIX}-${PKGNAME_MODULE}
+COMMENT=               Lua bindings for Xapian search engine
+HOMEPAGE=              https://xapian.org/docs/bindings/lua/
+
+CONFIGURE_ARGS+=       --with-lua
+CONFIGURE_ENV+=                LUA_INC=${BUILDLINK_INCDIRS.${LUA_PACKAGE}}
+
+REPLACE_LUA=           lua/docs/examples/*.lua
+
+post-install:
+       ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/lua/examples/*.lua
+
+.include "../../lang/lua/application.mk"
+.include "../../lang/lua/module.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/lua-xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-xapian/PLIST Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${LUA_CDIR}/xapian.a
+${LUA_CDIR}/xapian.so
+share/doc/xapian-bindings/lua/examples/simpleexpand.lua
+share/doc/xapian-bindings/lua/examples/simpleindex.lua
+share/doc/xapian-bindings/lua/examples/simplematchdecider.lua
+share/doc/xapian-bindings/lua/examples/simplesearch.lua
+share/doc/xapian-bindings/lua/index.html
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/p5-Xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Xapian/Makefile       Mon Jul 10 17:34:04 2017 +0000
@@ -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 -r b807e280e6b2 -r 9a149f18b9bd textproc/p5-Xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Xapian/PLIST  Mon Jul 10 17:34:04 2017 +0000
@@ -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
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/php-xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/php-xapian/Makefile      Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME=               ${PHP_PKG_PREFIX}-${PKGNAME_MODULE}
+COMMENT=               PHP bindings for Xapian search engine
+HOMEPAGE=              https://xapian.org/docs/bindings/php/
+
+.include "../../lang/php/phpversion.mk"
+
+.if (${PKG_PHP_MAJOR_VERS} == 5)
+CONFIGURE_ARGS+=       --with-php
+PHP_5_OR_EMPTY=                5
+.else
+CONFIGURE_ARGS+=       --with-php7
+PHP_5_OR_EMPTY=                # empty
+.endif
+
+PLIST_SUBST+=          PHP_5_OR_EMPTY=${PHP_5_OR_EMPTY:Q}
+
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/php-xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/php-xapian/PLIST Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${PHP_EXTENSION_DIR}/xapian.a
+${PHP_EXTENSION_DIR}/xapian.so
+share/doc/xapian-bindings/php/examples/simpleexpand.php${PKG_PHP_MAJOR_VERS}
+share/doc/xapian-bindings/php/examples/simpleindex.php${PKG_PHP_MAJOR_VERS}
+share/doc/xapian-bindings/php/examples/simplematchdecider.php${PKG_PHP_MAJOR_VERS}
+share/doc/xapian-bindings/php/examples/simplesearch.php${PKG_PHP_MAJOR_VERS}
+share/doc/xapian-bindings/php/index.html
+share/php${PHP_5_OR_EMPTY}/xapian.php
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/py-xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xapian/Makefile       Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME=               ${PYPKGPREFIX}-${PKGNAME_MODULE}
+COMMENT=               Python bindings for Xapian search engine
+HOMEPAGE=              https://xapian.org/docs/bindings/python/
+
+DEPENDS+=              ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+.include "../../lang/python/pyversion.mk"
+
+.if (${PYPKGPREFIX} == py27)
+CONFIGURE_ARGS+=       --with-python
+PYTHON_3_OR_EMPTY=     # empty
+.else
+CONFIGURE_ARGS+=       --with-python3
+PYTHON_3_OR_EMPTY=     3
+.endif
+
+PLIST_SUBST+=          PYTHON_3_OR_EMPTY=${PYTHON_3_OR_EMPTY:Q}
+PY_PATCHPLIST=         yes
+
+REPLACE_PYTHON=                python/docs/examples/*.py
+
+post-install:
+       ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/examples/*.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/py-xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xapian/PLIST  Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${PYSITELIB}/xapian/__init__.py
+${PYSITELIB}/xapian/__init__.pyc
+${PYSITELIB}/xapian/__init__.pyo
+${PYSITELIB}/xapian/_xapian.a
+${PYSITELIB}/xapian/_xapian.so
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/examples/simpleexpand.py
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/examples/simpleindex.py
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/examples/simplematchdecider.py
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/examples/simplesearch.py
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/.buildinfo
+${PLIST.py3x}share/doc/xapian-bindings/python3/html/_modules/_weakref.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_modules/index.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_modules/xapian.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_sources/examples.rst.txt
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_sources/index.rst.txt
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_sources/introduction.rst.txt
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_sources/xapian.rst.txt
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/ajax-loader.gif
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/basic.css
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/classic.css
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/comment-bright.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/comment-close.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/comment.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/default.css
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/doctools.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/down-pressed.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/down.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/file.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/jquery-3.1.0.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/jquery.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/minus.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/plus.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/pygments.css
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/searchtools.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/sidebar.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/underscore-1.3.1.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/underscore.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/up-pressed.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/up.png
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/_static/websupport.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/examples.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/genindex.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/index.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/introduction.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/objects.inv
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/py-modindex.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/search.html
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/searchindex.js
+share/doc/xapian-bindings/python${PYTHON_3_OR_EMPTY}/html/xapian.html
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/ruby-xapian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-xapian/Makefile     Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME=               ${RUBY_PKGPREFIX}-${PKGNAME_MODULE}
+COMMENT=               Ruby bindings for Xapian search engine
+HOMEPAGE=              https://xapian.org/docs/bindings/ruby/
+
+CONFIGURE_ARGS+=       --with-ruby
+
+REPLACE_RUBY=          ruby/docs/examples/*.rb
+
+post-install:
+       ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/ruby/examples/*.rb
+
+.include "../../lang/ruby/buildlink3.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b807e280e6b2 -r 9a149f18b9bd textproc/ruby-xapian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-xapian/PLIST        Mon Jul 10 17:34:04 2017 +0000
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${RUBY_SITEARCHLIB}/_xapian.a



Home | Main Index | Thread Index | Old Index