source: trunk/dports/mail/notmuch/Portfile @ 105470

Last change on this file since 105470 was 105470, checked in by yeled@…, 7 years ago

set the compiler to built-in apple-gcc-4.2 as clang 4.2 breaks

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 105470 2013-04-22 12:14:12Z yeled@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6
7name                notmuch
8version             0.15.2
9revision            1
10categories          mail
11platforms           darwin
12license             GPL-3+
13maintainers         yeled
14description         The mail indexer
15long_description    "Not much mail" is what Notmuch thinks about your email\
16                    collection. Even if you receive 12000 messages per month or have on the\
17                    order of millions of messages that you've been saving for decades.\
18                    Regardless, Notmuch will be able to quickly search all of it. It's just\
19                    plain not much mail.
20
21homepage            http://notmuchmail.org/
22master_sites        ${homepage}releases/
23
24checksums           rmd160  a29861f4a35fb4fee185ae9b527e2fa74ae44ba5 \
25                    sha256  a6e8af6382ab6df4a944bbffda9eb22639612c047b94632168b4270f2af59c0d
26
27depends_build       port:pkgconfig
28
29depends_lib         port:xapian-bindings\
30                    port:gmime\
31                    port:talloc
32
33patchfiles          patch-lib-Makefile.local.diff \
34                    patch-Makefile.local.diff \
35                    patch-bindings-python-notmuch-globals.py.diff
36
37post-patch {
38    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/bindings/python/notmuch/globals.py
39}
40
41# 0.14 failed to build when 0.11 was active with this error:
42# notmuch-count.c:70:44: error: too many arguments to function call, expected 2, have 3
43#                                NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
44#                                                                 ^~~~~~~~
45# /opt/local/include/notmuch.h:174:1: note: 'notmuch_database_open' declared here
46# notmuch_database_t *
47# ^
48conflicts_build     ${name}
49
50configure.args      --without-emacs
51configure.compiler apple-gcc-4.2
52
53# disable silent rules
54build.args          V=1
55
56variant emacs description {EMACS support} {
57    depends_lib-append      port:emacs
58    configure.args-delete   --without-emacs
59    configure.args-append   --with-emacs
60}
61
62livecheck.type      regex
63livecheck.url       [lindex ${master_sites} 0]
64livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.