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

Last change on this file since 77791 was 77791, checked in by jmr@…, 8 years ago

xapian-core, xapian-bindings: update to 1.2.5, new maintainer, add python27 variant (#26765)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 77791 2011-04-13 03:32:32Z jmr@macports.org $
3
4PortSystem 1.0
5
6name                xapian-bindings
7version             1.2.5
8categories          devel
9maintainers         gmail.com:dcolish
10description         Xapian bindings
11long_description    Xapian is a highly adaptable toolkit which allows \
12                    developers to easily add advanced indexing and search \
13                    facilities to their own applications. It supports the \
14                    Probabilistic Information Retrieval model and also \
15                    supports a rich set of boolean query operators.
16
17homepage            http://www.xapian.org/
18platforms           darwin
19master_sites        http://oligarchy.co.uk/xapian/${version}
20
21checksums           md5 24b379d5b95eebbec7a685ff63321bdd \
22                    sha1 ff9528d094396b3b58bd32a263211c783af034f2 \
23                    rmd160 e7de918437ee5ba88bf67a9b64da7f760b0c6580
24depends_lib         port:xapian-core
25
26configure.args      --without-python --without-csharp --without-java \
27                    --without-tcl --without-php --without-ruby
28
29variant     ruby description {builds ruby bindings} {
30                    configure.args-delete  --without-ruby
31                    configure.args-append  --with-ruby
32                    depends_lib-append port:ruby
33                }
34variant     php description {builds php bindings} {
35                    configure.args-delete  --without-php
36                    configure.args-append  --with-php
37                    depends_lib-append path:bin/php:php5
38                }
39variant     python26 conflicts python27 description {builds python bindings} {
40                    configure.args-delete  --without-python
41                    configure.args-append  --with-python
42                    configure.python       ${prefix}/bin/python2.6
43                    depends_lib-append port:python26
44                }
45variant     python27 conflicts python26 description {builds python bindings} {
46                    configure.args-delete  --without-python
47                    configure.args-append  --with-python
48                    configure.python       ${prefix}/bin/python2.7
49                    depends_lib-append port:python27
50                }
51variant     java description {builds java bindings} {
52                    configure.args-delete  --without-java
53                    configure.args-append  --with-java
54                }
55default_variants +ruby
56
57post-destroot {
58  if {[file exists ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs]} {
59    delete "${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs"
60  }
61}
Note: See TracBrowser for help on using the repository browser.