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

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

revert r105470 before the portindex is built

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