source: trunk/dports/devel/xapian-core/Portfile

Last change on this file was 143525, checked in by mcalhoun@…, 20 months ago

xapian-core: fix universal merge failure of file xapian-config

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 143525 2015-12-14 12:49:34Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6# version.h does not get generated properly when there are multiple -arch flags
7PortGroup           muniversal 1.0
8
9name                xapian-core
10version             1.2.21
11categories          devel
12maintainers         gmail.com:dcolish
13license             GPL-2+
14
15description         Xapian search library
16long_description    Xapian is a highly adaptable toolkit which allows \
17                    developers to easily add advanced indexing and search \
18                    facilities to their own applications. It supports the \
19                    Probabilistic Information Retrieval model and also \
20                    supports a rich set of boolean query operators.
21
22homepage            http://xapian.org/
23platforms           darwin
24master_sites        http://oligarchy.co.uk/xapian/${version}/
25use_xz              yes
26
27checksums           rmd160  6b2413007f245d2410e2b22d7656abb7f1bae750 \
28                    sha256  63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f
29
30# TODO: Fix xapian-config to not require the .la file
31# /opt/local/bin/xapian-config --ltlibs --cxxflags
32# /opt/local/bin/xapian-config: Can't find libxapian.la to link against.
33destroot.delete_la_files no
34
35depends_lib         port:zlib
36
37if { [variant_exists universal] && [variant_isset universal] } {
38    post-build {
39        foreach arch ${universal_archs_to_use} {
40            # xapian-config records build directory, which interferes with universal merge
41            reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${worksrcpath}-${arch}/xapian-config
42        }
43    }
44}
45
46livecheck.type      regex
47livecheck.url       ${homepage}download
48livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.