# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Xapian bindings
long_description Xapian is a highly adaptable toolkit which allows \
developers to easily add advanced indexing and search \
facilities to their own applications. It supports the \
Probabilistic Information Retrieval model and also \
supports a rich set of boolean query operators.
homepage https://xapian.org/
master_sites https://oligarchy.co.uk/xapian/${version}/
checksums rmd160 b356bbb55ef82031973cbfee77927d3a69709baa \
sha256 647886730a71bcc0e9f666fcd702b7141d4e9a82e1085e44eb4470624e1a9d33
depends_lib port:xapian-core
configure.args --without-python --without-csharp --without-java \
--without-tcl --without-php --without-ruby --without-perl
variant java description {build java bindings} {
configure.args-replace --without-java --with-java
variant php description {build php bindings} {
depends_lib-append path:bin/php:php5
configure.args-replace --without-php --with-php
variant python27 description {build python 2.7 bindings} {
depends_lib-append port:python27
configure.python ${prefix}/bin/python2.7
configure.args-replace --without-python --with-python
variant ruby description {build ruby bindings} {
depends_lib-append port:ruby24
configure.env RUBY=ruby2.4
configure.args-replace --without-ruby --with-ruby
delete ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs
livecheck.url ${homepage}download
livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}