summaryrefslogtreecommitdiff
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
parent6fe5a6d2bdcc2cfb7f9046d732d11340aee408b3 (diff)
downloadpkgsrc-368f18f88a1e2a0e891df4573ad0fbde2e72529b.tar.gz
Add Xapian language bindings for C#, Lua, Perl, PHP, Python, Ruby, and Tcl.
-rw-r--r--textproc/csharp-xapian/Makefile11
-rw-r--r--textproc/csharp-xapian/PLIST9
-rw-r--r--textproc/lua-xapian/Makefile18
-rw-r--r--textproc/lua-xapian/PLIST8
-rw-r--r--textproc/p5-Xapian/Makefile21
-rw-r--r--textproc/p5-Xapian/PLIST57
-rw-r--r--textproc/php-xapian/Makefile21
-rw-r--r--textproc/php-xapian/PLIST9
-rw-r--r--textproc/py-xapian/Makefile30
-rw-r--r--textproc/py-xapian/PLIST50
-rw-r--r--textproc/ruby-xapian/Makefile16
-rw-r--r--textproc/ruby-xapian/PLIST63
-rw-r--r--textproc/tcl-xapian/Makefile21
-rw-r--r--textproc/tcl-xapian/PLIST8
14 files changed, 342 insertions, 0 deletions
diff --git a/textproc/csharp-xapian/Makefile b/textproc/csharp-xapian/Makefile
new file mode 100644
index 00000000000..813ec422296
--- /dev/null
+++ b/textproc/csharp-xapian/Makefile
@@ -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 --git a/textproc/csharp-xapian/PLIST b/textproc/csharp-xapian/PLIST
new file mode 100644
index 00000000000..4c5091f1c89
--- /dev/null
+++ b/textproc/csharp-xapian/PLIST
@@ -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 --git a/textproc/lua-xapian/Makefile b/textproc/lua-xapian/Makefile
new file mode 100644
index 00000000000..db872bbb49d
--- /dev/null
+++ b/textproc/lua-xapian/Makefile
@@ -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 --git a/textproc/lua-xapian/PLIST b/textproc/lua-xapian/PLIST
new file mode 100644
index 00000000000..3bd2ad07ec5
--- /dev/null
+++ b/textproc/lua-xapian/PLIST
@@ -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 --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
diff --git a/textproc/php-xapian/Makefile b/textproc/php-xapian/Makefile
new file mode 100644
index 00000000000..a35d92649ed
--- /dev/null
+++ b/textproc/php-xapian/Makefile
@@ -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 --git a/textproc/php-xapian/PLIST b/textproc/php-xapian/PLIST
new file mode 100644
index 00000000000..7cb84cf4db6
--- /dev/null
+++ b/textproc/php-xapian/PLIST
@@ -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 --git a/textproc/py-xapian/Makefile b/textproc/py-xapian/Makefile
new file mode 100644
index 00000000000..1edcdc62c06
--- /dev/null
+++ b/textproc/py-xapian/Makefile
@@ -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 --git a/textproc/py-xapian/PLIST b/textproc/py-xapian/PLIST
new file mode 100644
index 00000000000..596919ffe5e
--- /dev/null
+++ b/textproc/py-xapian/PLIST
@@ -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 --git a/textproc/ruby-xapian/Makefile b/textproc/ruby-xapian/Makefile
new file mode 100644
index 00000000000..922be6ba360
--- /dev/null
+++ b/textproc/ruby-xapian/Makefile
@@ -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 --git a/textproc/ruby-xapian/PLIST b/textproc/ruby-xapian/PLIST
new file mode 100644
index 00000000000..7a50fc46032
--- /dev/null
+++ b/textproc/ruby-xapian/PLIST
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+${RUBY_SITEARCHLIB}/_xapian.a
+${RUBY_SITEARCHLIB}/_xapian.${RUBY_DLEXT}
+${RUBY_SITELIB}/xapian.rb
+share/doc/xapian-bindings/ruby/examples/simpleexpand.rb
+share/doc/xapian-bindings/ruby/examples/simpleindex.rb
+share/doc/xapian-bindings/ruby/examples/simplematchdecider.rb
+share/doc/xapian-bindings/ruby/examples/simplesearch.rb
+share/doc/xapian-bindings/ruby/index.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/LatLongCoord.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/MultiValueKeyMaker.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/MultiValueKeyMaker/KeySpec.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Database.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Document.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/ESet.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Enquire.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/ExpandTerm.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/LatLongCoords.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/MSet.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Match.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Posting.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Query.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Value.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/ValueCountMatchSpy.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Xapian.html
+share/doc/xapian-bindings/ruby/rdocs/Xapian/Xapian/Xapian/Term.html
+share/doc/xapian-bindings/ruby/rdocs/created.rid
+share/doc/xapian-bindings/ruby/rdocs/images/add.png
+share/doc/xapian-bindings/ruby/rdocs/images/arrow_up.png
+share/doc/xapian-bindings/ruby/rdocs/images/brick.png
+share/doc/xapian-bindings/ruby/rdocs/images/brick_link.png
+share/doc/xapian-bindings/ruby/rdocs/images/bug.png
+share/doc/xapian-bindings/ruby/rdocs/images/bullet_black.png
+share/doc/xapian-bindings/ruby/rdocs/images/bullet_toggle_minus.png
+share/doc/xapian-bindings/ruby/rdocs/images/bullet_toggle_plus.png
+share/doc/xapian-bindings/ruby/rdocs/images/date.png
+share/doc/xapian-bindings/ruby/rdocs/images/delete.png
+share/doc/xapian-bindings/ruby/rdocs/images/find.png
+share/doc/xapian-bindings/ruby/rdocs/images/loadingAnimation.gif
+share/doc/xapian-bindings/ruby/rdocs/images/macFFBgHack.png
+share/doc/xapian-bindings/ruby/rdocs/images/package.png
+share/doc/xapian-bindings/ruby/rdocs/images/page_green.png
+share/doc/xapian-bindings/ruby/rdocs/images/page_white_text.png
+share/doc/xapian-bindings/ruby/rdocs/images/page_white_width.png
+share/doc/xapian-bindings/ruby/rdocs/images/plugin.png
+share/doc/xapian-bindings/ruby/rdocs/images/ruby.png
+share/doc/xapian-bindings/ruby/rdocs/images/tag_blue.png
+share/doc/xapian-bindings/ruby/rdocs/images/tag_green.png
+share/doc/xapian-bindings/ruby/rdocs/images/transparent.png
+share/doc/xapian-bindings/ruby/rdocs/images/wrench.png
+share/doc/xapian-bindings/ruby/rdocs/images/wrench_orange.png
+share/doc/xapian-bindings/ruby/rdocs/images/zoom.png
+share/doc/xapian-bindings/ruby/rdocs/index.html
+share/doc/xapian-bindings/ruby/rdocs/js/darkfish.js
+share/doc/xapian-bindings/ruby/rdocs/js/jquery.js
+share/doc/xapian-bindings/ruby/rdocs/js/navigation.js
+share/doc/xapian-bindings/ruby/rdocs/js/search.js
+share/doc/xapian-bindings/ruby/rdocs/js/search_index.js
+share/doc/xapian-bindings/ruby/rdocs/js/searcher.js
+share/doc/xapian-bindings/ruby/rdocs/rdoc.css
+share/doc/xapian-bindings/ruby/rdocs/table_of_contents.html
diff --git a/textproc/tcl-xapian/Makefile b/textproc/tcl-xapian/Makefile
new file mode 100644
index 00000000000..5c4118057ac
--- /dev/null
+++ b/textproc/tcl-xapian/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME= tcl-${PKGNAME_MODULE}
+COMMENT= Tcl bindings for Xapian search engine
+HOMEPAGE= https://xapian.org/docs/bindings/tcl8/
+
+.include "../../lang/tcl/Makefile.version"
+
+CONFIGURE_ARGS+= --with-tcl
+
+REPLACE_INTERPRETER= tcl
+REPLACE.tcl.old= /usr/bin/env tclsh
+REPLACE.tcl.new= ${PREFIX}/bin/tclsh${TCL_BASEVER}
+REPLACE_FILES.tcl= tcl8/docs/examples/*.tcl
+
+post-install:
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/tcl8/examples/*.tcl
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/tcl-xapian/PLIST b/textproc/tcl-xapian/PLIST
new file mode 100644
index 00000000000..7f3cc54a1ec
--- /dev/null
+++ b/textproc/tcl-xapian/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+lib/tcl/xapian${PKGVERSION}/pkgIndex.tcl
+lib/tcl/xapian${PKGVERSION}/xapian.a
+lib/tcl/xapian${PKGVERSION}/xapian.so
+share/doc/xapian-bindings/tcl8/examples/simpleexpand.tcl
+share/doc/xapian-bindings/tcl8/examples/simpleindex.tcl
+share/doc/xapian-bindings/tcl8/examples/simplesearch.tcl
+share/doc/xapian-bindings/tcl8/index.html