summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2018-04-14 04:21:49 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2018-04-14 04:21:49 +0000
commit8289aeb67a728f46a52fea05a3ca87242e7d5d59 (patch)
tree78d27c39fc60fe4996ab5a5a183ad25b3c0cd797 /mail
parent5f24fd096d48e1e85b7e28df9a92d7e4b757b672 (diff)
downloadfreebsd-ports-8289aeb67a728f46a52fea05a3ca87242e7d5d59.zip
Add options to use the command line editing feature by cyradm.
PR: 227463 Reported by: Peter Laursen
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd30/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/cyrus-imapd30/Makefile b/mail/cyrus-imapd30/Makefile
index e7242709593b..2154b228d109 100644
--- a/mail/cyrus-imapd30/Makefile
+++ b/mail/cyrus-imapd30/Makefile
@@ -3,7 +3,6 @@
PORTNAME= cyrus-imapd
PORTVERSION= 3.0.5
PORTREVISION= 1
-#PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \
https://www.cyrusimap.org/releases/
@@ -102,7 +101,7 @@ XAPIAN_DESC= Enable Xapian support
XAPIAN_CONFIGURE_ENABLE=xapian
XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core
-OPTIONS_RADIO= GSSAPI
+OPTIONS_RADIO= GSSAPI READLINE
OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT
.if exists(/usr/lib/libkrb5.a)
OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE
@@ -118,6 +117,12 @@ GSSAPI_MIT_USES= gssapi:mit
GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
--with-gss_impl=mit
+OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL
+READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm
+READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu
+READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm
+READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl
+
MANDIRS= ${CYRUS_PREFIX}/man
PORTDOCS= *