aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2016-10-12 16:37:17 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2016-10-12 16:37:17 +0000
commit167fe2eb8326c020de649b6d622ebf26f200929e (patch)
tree046892d2e6e38aa0e575097bffdc417864fa18fb
parent30536442b03ca4d997b37dca977989b24eea7fcc (diff)
downloadports-167fe2eb8326c020de649b6d622ebf26f200929e.tar.gz
ports-167fe2eb8326c020de649b6d622ebf26f200929e.zip
mail/neomutt: make notmuch optional (on by default)
Approved by: bapt (maintainer)
Notes
Notes: svn path=/head/; revision=423873
-rw-r--r--mail/neomutt/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 03faa2df1634..9e95f6dc6083 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -3,6 +3,7 @@
PORTNAME= neomutt
PORTVERSION= 20161003
DISTVERSIONPREFIX= ${PORTNAME}-
+PORTREVISION= 1
CATEGORIES= mail
MAINTAINER= bapt@FreeBSD.org
@@ -16,7 +17,6 @@ USE_GITHUB= yes
USES= autoreconf localbase ncurses shebangfix ssl
GNU_CONFIGURE= yes
-LIB_DEPENDS= libnotmuch.so:mail/notmuch
BUILD_DEPENDS= gdate:sysutils/coreutils
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support \
urlview:textproc/urlview
@@ -24,13 +24,14 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support \
OPTIONS_SUB= yes
SHEBANG_FILES= smime_keys.pl
-OPTIONS_DEFINE= NLS DOCS SASL ICONV IDN FLOCK GPGME
-OPTIONS_DEFAULT=SASL TOKYOCABINET
+OPTIONS_DEFINE= NLS DOCS SASL ICONV IDN FLOCK GPGME NOTMUCH
+OPTIONS_DEFAULT=SASL TOKYOCABINET NOTMUCH
OPTIONS_RADIO= HCACHE
OPTIONS_RADIO_HCACHE= TOKYOCABINET LMDB
FLOCK_DESC= Use flock() to lock files
GPGME_DESC= Use gpgme to handle pgp
+NOTMUCH_DESC= Use notmuch for tagging and searching
TOKYOCABINET_DESC= Use TokyoCabinet as header-cache backend
LMDB_DESC= Use LMDB as header-cache backend
@@ -44,7 +45,6 @@ CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-compressed \
--enable-hcache \
--enable-sidebar \
- --enable-notmuch \
--without-qdbm \
--disable-fcntl \
--enable-external-dotlock
@@ -75,6 +75,9 @@ SASL_CONFIGURE_ON= --with-sasl
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_CONFIGURE_ENABLE= gpgme
+NOTMUCH_LIB_DEPENDS= libnotmuch.so:mail/notmuch
+NOTMUCH_CONFIGURE_ENABLE= notmuch
+
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
lynx:www/lynx