aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-10-13 00:37:17 +0800
committergahr <gahr@FreeBSD.org>2016-10-13 00:37:17 +0800
commit58a3ab08fa761010c0e98279415351c7572e13ab (patch)
tree046892d2e6e38aa0e575097bffdc417864fa18fb /mail
parent29843932eff9ca316c03585371cdc68d396cda46 (diff)
downloadfreebsd-ports-gnome-58a3ab08fa761010c0e98279415351c7572e13ab.tar.gz
freebsd-ports-gnome-58a3ab08fa761010c0e98279415351c7572e13ab.tar.zst
freebsd-ports-gnome-58a3ab08fa761010c0e98279415351c7572e13ab.zip
mail/neomutt: make notmuch optional (on by default)
Approved by: bapt (maintainer)
Diffstat (limited to 'mail')
-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