source: trunk/dports/devel/xapian-bindings/Portfile @ 71108

Last change on this file since 71108 was 71108, checked in by macsforever2000@…, 9 years ago

Switch to no maintainer per email with old maintainer. Change python variant to use python26. (#26313)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 71108 2010-09-01 15:05:07Z macsforever2000@macports.org $
3PortSystem 1.0
4name                xapian-bindings
5version             1.0.15
6categories          devel
7maintainers         nomaintainer
8description         Xapian bindings
9long_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.
10
11homepage            http://people.xapian.org
12platforms           darwin
13master_sites        http://oligarchy.co.uk/xapian/${version}
14
15checksums           md5 d365969f5ba7fa99d369ef479862c4fe \
16                    sha1 34ed2c71df43df39c3a8c56beb1c6bdd2cf39a17 \
17                    rmd160 6e8214e2a629662c3dcfc3b469c5159c90ecfddc
18depends_lib         port:xapian-core
19
20configure.args-append  --without-python --without-csharp --without-java --without-tcl --without-php --without-ruby
21variant     ruby description {builds ruby bindings} {
22                    configure.args-delete  --without-ruby
23                    configure.args-append  --with-ruby
24                    depends_lib-append port:ruby
25                }
26variant     php description {builds php bindings} {
27                    configure.args-delete  --without-php
28                    configure.args-append  --with-php
29                    depends_lib-append path:bin/php:php5
30                }
31variant     python26 description {builds python bindings} {
32                    configure.args-delete  --without-python
33                    configure.args-append  --with-python
34                    configure.env-append PYTHON=${prefix}/bin/python2.6
35                    depends_lib-append port:python26
36                }
37variant     java description {builds java bindings} {
38                    configure.args-delete  --without-java
39                    configure.args-append  --with-java
40                }
41default_variants +ruby
42
43post-destroot {
44  if {[file exists ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs]} {
45    delete "${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs"
46  }
47}
Note: See TracBrowser for help on using the repository browser.