Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (45 sloc) 1.99 KB
# -*- 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
PortSystem 1.0
PortGroup conflicts_build 1.0
name notmuch
version 0.28
categories mail
platforms darwin
license GPL-3+
maintainers nomaintainer
description The mail indexer
long_description \"Not much mail\" is what Notmuch thinks about your email \
collection, even if you receive 12000 messages per month or have on the \
order of millions of messages that you’ve been saving for decades. \
Regardless, Notmuch will be able to quickly search all of it. It’s just \
plain not much mail.
homepage https://notmuchmail.org/
master_sites ${homepage}releases/
checksums rmd160 9a413645c3f9cf7e16007d7937a7220492ef2672 \
sha256 acca75cec91651ccd2a7e31f7004e2ae14eff4ae38e375b8a88414c464cd0a37 \
size 921069
depends_build port:pkgconfig
depends_lib port:xapian-bindings \
port:gmime \
port:talloc \
port:zlib
patchfiles patch-bindings-python-notmuch-globals.py.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/bindings/python/notmuch/globals.py
}
conflicts_build ${name} xcbuild
if {[variant_isset universal]} {
# llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
compiler.blacklist *llvm-gcc-4.2
}
configure.args --without-emacs
# disable silent rules
build.args V=1
variant emacs description {EMACS support} {
depends_lib-append port:emacs
configure.args-delete --without-emacs
configure.args-append --with-emacs
}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}