Permalink
Browse files
mu: update to 1.2
- bump version to 1.2 - obsolete mu-devel - take maintainer - create variant for guile - removed fixes; seems useless now - move site to https
- Loading branch information
| @@ -1,67 +1,69 @@ | ||
| # -*- 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 github 1.0 | ||
| PortGroup elisp 1.0 | ||
|
|
||
| github.setup djcb mu 1.0 v | ||
| license GPL-3 | ||
| name mu | ||
| platforms darwin | ||
| categories mail | ||
| maintainers nomaintainer | ||
| license GPL-3 | ||
| maintainers {@ra1nb0w irh.it:rainbow} 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. | ||
| homepage https://www.djcbsoftware.nl/code/mu/ | ||
|
|
||
| platforms darwin | ||
|
|
||
| homepage http://www.djcbsoftware.nl/code/mu/ | ||
| # obsolete 20190408 | ||
| subport ${name}-devel { | ||
|
|
||
| checksums rmd160 4928dbb7effc924da85b8df0da92f46412a6c9e7 \ | ||
| sha256 3eed4e1139d296089dcf685d6b4e8a5abe43e0f9cbae6663694250ab889f1291 | ||
| replaced_by ${name} | ||
| PortGroup obsolete 1.0 | ||
|
|
||
| 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 | ||
| if {${subport} eq ${name}} { | ||
|
|
||
| # see https://github.com/djcb/mu/issues/380 | ||
| configure.cxxflags-delete -Os | ||
| PortGroup github 1.0 | ||
| PortGroup elisp 1.0 | ||
|
|
||
| if {${os.platform} eq "darwin" && ${os.major} >= 13} { | ||
| # see https://github.com/djcb/mu/issues/332 | ||
| macosx_deployment_target | ||
| } | ||
| github.setup djcb mu 1.2 | ||
| checksums rmd160 30ff45c6f6009c15d731f8609ca5dc31943010c9 \ | ||
| sha256 b65827bc95c5a936374775e85d32cd02ec18fd072b8cd5013ce4d002ec06f315 \ | ||
| size 2297792 | ||
| revision 0 | ||
|
|
||
| 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 | ||
| } | ||
| depends_build-append \ | ||
| port:pkgconfig | ||
|
|
||
| subport mu-devel { | ||
| github.setup djcb mu 9bffb465bdd1 | ||
| name mu-devel | ||
| version 1.0.99 | ||
| revision 2 | ||
| depends_lib-append \ | ||
| port:gmime3 \ | ||
| port:xapian-core | ||
|
|
||
| depends_lib-append port:gmime3 | ||
| use_autoreconf yes | ||
| configure.args \ | ||
| --disable-silent-rules \ | ||
| --with-gui=none \ | ||
| --disable-mu4e \ | ||
| --disable-webkit \ | ||
| --disable-guile | ||
|
|
||
| checksums rmd160 cc74ced2faa837276e9ef901eb558844a8699305 \ | ||
| sha256 e2cc2cf2667eba993e8a3ec20bbe7fb4e6a3da8f7d21e924986ffa78783aabd5 \ | ||
| size 2296425 | ||
| 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-replace --disable-mu4e --enable-mu4e | ||
| } | ||
|
|
||
| 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 | ||
| variant guile description {Build with Guile/Scheme bindings} { | ||
| depends_lib-append port:guile | ||
| configure.args-replace --disable-guile --enable-guile | ||
| } | ||
|
|
||
| # disable "-rc" versions for livecheck | ||
| github.livecheck.regex {([0-9.]+)} | ||
|
|
||
| } |