Ticket #17233: Portfile.2

File Portfile.2, 1.9 KB (added by m@…, 15 years ago)

xapian-bindings portfile

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$
3PortSystem 1.0
4name                xapian-bindings
5version             1.0.9
6categories          devel
7maintainers         m@loonsoft.com
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}
14extract.suffix      .tar.gz
15
16checksums           md5 fa37abeb8927dde6b8f9655c893ebfac \
17                    sha1 2dfab97cd9bcea67285c8aa91d41c44ca4d161b2 \
18                    rmd160 d9582f410aa392e8a694fbed2fabca481f9f1113
19depends_lib         port:xapian-core
20
21configure.args-append  --without-python --without-java --without-tcl --without-php --without-ruby
22variant     ruby description {builds ruby bindings} {
23                    configure.args-delete  --without-ruby
24                    depends_lib-append port:ruby
25                }
26variant     php description {builds php bindings} {
27                    configure.args-delete  --without-php
28                    depends_lib-append port:php5
29                }
30variant     python description {builds python bindings} {
31                    configure.args-delete  --without-python
32                    depends_lib-append port:python25
33                }
34variant     tcl description {builds tcl bindings} {
35                    configure.args-delete  --without-tcl
36                }
37variant     java description {builds java bindings} {
38                    configure.args-delete  --without-java
39                }
40default_variants +ruby
41