source: trunk/dports/mail/mu/Portfile

Last change on this file was 149496, checked in by sean@…, 13 months ago

mu: remove myself as maintainer

  • 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 149496 2016-06-22 22:57:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           elisp 1.0
7
8github.setup        djcb mu 0.9.16 v
9revision            0
10license             GPL-3
11categories          mail
12maintainers         nomaintainer
13description         Command-line tools to index and search email (aka maildir-utils)
14long_description \
15   mu is a set of command-line tools for Linux/Unix that enable you to \
16   quickly find the e-mails you are looking for. First, a tool called \
17   mu-index fills a database with information about all your e-mails. After \
18   that, you can easily search for them, using mu-find and its dedicated \
19   query language.
20
21platforms           darwin
22
23homepage            http://www.djcbsoftware.nl/code/mu/
24
25checksums           rmd160  46f7cc07f49421fdec18cff247de442b670aa5e6 \
26                    sha256  2d2322cfe17f05ba6b625e9b29080466eaa29fa79f917433538b023ec3e956b4
27
28depends_build       port:pkgconfig
29depends_lib         port:gmime port:xapian-core port:guile
30
31use_autoreconf      yes
32configure.args      --disable-silent-rules --with-gui=none --disable-mu4e --disable-webkit --enable-guile
33
34# see https://github.com/djcb/mu/issues/380
35configure.cxxflags-delete -Os
36
37if {${os.platform} eq "darwin" && ${os.major} >= 13} {
38    # see https://github.com/djcb/mu/issues/332
39    macosx_deployment_target
40}
41
42variant emacs description {Build with emacs bindings} {
43    depends_lib-append    path:${emacs_binary}:${emacs_binary_provider}
44    configure.env-append  EMACS=${emacs_binary}
45    build.env-append      ELCFLAGS=-Q
46    configure.args-delete --disable-mu4e
47    configure.args-append --enable-mu4e
48}
49
50subport mu-devel {
51    github.setup    djcb mu 69780d2e0211
52    name            mu-devel
53    version         0.9.16.99
54    revision        6
55
56    checksums       rmd160  4c442771335ac6acd8e13828652e373e39a42eff \
57                    sha256  4166d413272fe46451f652d47f94e3c158faa16e0fe75168bbd36101c8da1978
58
59    post-extract    {
60        # set the displayed version to a 6-character string since most releases
61        # are of the form 0.9.XX
62        set over    [string range $version 0 5]
63        set dver    $over-[string range ${github.version} 0 6]
64        reinplace   "s,$over,$dver,g" ${worksrcpath}/configure.ac
65    }
66}
Note: See TracBrowser for help on using the repository browser.