aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2017-03-12 22:28:25 +0800
committerbapt <bapt@FreeBSD.org>2017-03-12 22:28:25 +0800
commit7c20d82f93fb8c0cc518a2220989ea278573dc32 (patch)
treeff647ff477470709414f137b104df5e2808b0635 /mail
parent735c7f7b616a3cc4ddc5132bee648a567b1912a4 (diff)
downloadfreebsd-ports-gnome-7c20d82f93fb8c0cc518a2220989ea278573dc32.tar.gz
freebsd-ports-gnome-7c20d82f93fb8c0cc518a2220989ea278573dc32.tar.zst
freebsd-ports-gnome-7c20d82f93fb8c0cc518a2220989ea278573dc32.zip
Update to 2017-03-06
Add an option for slang support[1] PR: 217464, 212292 Submitted by: krion, pi
Diffstat (limited to 'mail')
-rw-r--r--mail/neomutt/Makefile17
-rw-r--r--mail/neomutt/distinfo6
-rw-r--r--mail/neomutt/files/patch-getdomain.c11
-rw-r--r--mail/neomutt/files/pkg-message.slang4
4 files changed, 21 insertions, 17 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 32b12dd7863a..00f8946452e0 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= neomutt
-PORTVERSION= 20170225
+PORTVERSION= 20170306
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= mail
@@ -16,16 +16,18 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support \
USE_GITHUB= yes
-USES= autoreconf localbase ncurses shebangfix ssl
+USES= autoreconf localbase shebangfix ssl
GNU_CONFIGURE= yes
OPTIONS_SUB= yes
SHEBANG_FILES= smime_keys.pl
OPTIONS_DEFINE= NLS DOCS SASL ICONV IDN FLOCK GPGME NOTMUCH
-OPTIONS_DEFAULT=SASL TOKYOCABINET NOTMUCH GPGME LMDB
+OPTIONS_DEFAULT=SASL TOKYOCABINET NOTMUCH GPGME LMDB NCURSES
OPTIONS_MULTI= HCACHE
OPTIONS_MULTI_HCACHE= BDB GDBM KYOTOCABINET LMDB QDBM TOKYOCABINET
+OPTIONS_SINGLE= SCREEN
+OPTIONS_SINGLE_SCREEN= NCURSES SLANG
FLOCK_DESC= Use flock() to lock files
GPGME_DESC= Use gpgme to handle pgp
@@ -35,6 +37,9 @@ KYOTOCABINET_DESC= Kyoto Cabinet support
LMDB_DESC= Lightning Memory-Mapped Database support
QDBM_DESC= Quick DataBase Manager support
TOKYOCABINET_DESC= Tokyo Cabinet support
+SCREEN_DESC= Screen options
+NCURSES_DESC= Ncurses support
+SLANG_DESC= SLANG support
CONFIGURE_ARGS= --disable-dependency-tracking \
--with-docdir="${DOCSDIR}" \
@@ -86,6 +91,12 @@ GPGME_CONFIGURE_ENABLE= gpgme
NOTMUCH_LIB_DEPENDS= libnotmuch.so:mail/notmuch
NOTMUCH_CONFIGURE_ENABLE= notmuch
+SLANG_CONFIGURE_ON= --with-slang=${LOCALBASE}
+SLANG_LIB_DEPENDS= libslang.so:devel/libslang2
+SLANG_VARS= PKGMESSAGE=${FILESDIR}/pkg-message.slang
+
+NCURSES_USES= ncurses
+
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
lynx:www/lynx
diff --git a/mail/neomutt/distinfo b/mail/neomutt/distinfo
index 87013b9c684c..a518931f5fef 100644
--- a/mail/neomutt/distinfo
+++ b/mail/neomutt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488036312
-SHA256 (neomutt-neomutt-neomutt-20170225_GH0.tar.gz) = d7a0d1bef0927c81b3fdecc69688a0953a836bde095ca97bfe56b19b5e199402
-SIZE (neomutt-neomutt-neomutt-20170225_GH0.tar.gz) = 2808549
+TIMESTAMP = 1489328565
+SHA256 (neomutt-neomutt-neomutt-20170306_GH0.tar.gz) = 4fc1d02792ca8b6c74105c9376886b0c2fb7ef28bc04be7cfd0f0699aa5c8c63
+SIZE (neomutt-neomutt-neomutt-20170306_GH0.tar.gz) = 2809932
diff --git a/mail/neomutt/files/patch-getdomain.c b/mail/neomutt/files/patch-getdomain.c
deleted file mode 100644
index daa67c184d6a..000000000000
--- a/mail/neomutt/files/patch-getdomain.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- getdomain.c.orig 2017-02-25 01:23:52 UTC
-+++ getdomain.c
-@@ -67,7 +67,7 @@ int getdnsdomainname (char *d, size_t le
-
- #else /* !HAVE_GETADDRINFO_A */
-
-- getaddrinfo(node, NULL, &hints, &h)
-+ getaddrinfo(node, NULL, &hints, &h);
-
- #endif
-
diff --git a/mail/neomutt/files/pkg-message.slang b/mail/neomutt/files/pkg-message.slang
new file mode 100644
index 000000000000..7b0f4cfa0fdd
--- /dev/null
+++ b/mail/neomutt/files/pkg-message.slang
@@ -0,0 +1,4 @@
+You have installed mutt with SLANG support.
+This may work for a color terminal only when defining
+COLORTERM=yes and COLORFGBG=\"color1;color2\" in your
+environment.