# -*- 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 # $Id: Portfile 144907 2016-01-20 22:47:24Z sean@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup elisp 1.0 github.setup djcb mu 0.9.16 v revision 0 license GPL-3 categories mail maintainers sean openmaintainer description Command-line tools to index and search email (aka maildir-utils) long_description \ mu is a set of command-line tools for Linux/Unix that enable you to \ quickly find the e-mails you are looking for. First, a tool called \ mu-index fills a database with information about all your e-mails. After \ that, you can easily search for them, using mu-find and its dedicated \ query language. platforms darwin homepage http://www.djcbsoftware.nl/code/mu/ checksums rmd160 46f7cc07f49421fdec18cff247de442b670aa5e6 \ sha256 2d2322cfe17f05ba6b625e9b29080466eaa29fa79f917433538b023ec3e956b4 depends_build port:pkgconfig depends_lib port:gmime port:xapian-core port:guile use_autoreconf yes configure.args --disable-silent-rules --with-gui=none --disable-mu4e --disable-webkit --enable-guile # see https://github.com/djcb/mu/issues/380 configure.cxxflags-delete -Os if {${os.platform} eq "darwin" && ${os.major} >= 13} { # see https://github.com/djcb/mu/issues/332 macosx_deployment_target } variant emacs description {Build with emacs bindings} { depends_lib-append path:${emacs_binary}:${emacs_binary_provider} configure.env-append EMACS=${emacs_binary} build.env-append ELCFLAGS=-Q configure.args-delete --disable-mu4e configure.args-append --enable-mu4e } subport mu-devel { github.setup djcb mu 819857d10550 name mu-devel version 0.9.15.99 revision 11 checksums rmd160 e2374d02ef1889829dd657d4f18bb5664ee8a5f9 \ sha256 8ff29094aee9ca1040a5e2d5c4864e57a34182364912ab206c8191652567a3e9 post-extract { # set the displayed version to a 6-character string since most releases # are of the form 0.9.XX set over [string range $version 0 5] set dver $over-[string range ${github.version} 0 6] reinplace "s,$over,$dver,g" ${worksrcpath}/configure.ac } }