git: d859c1e769c7 - main - Add FLAVOR for enable HTTP.
Hajimu UMEMOTO
ume at FreeBSD.org
Thu May 13 12:16:07 UTC 2021
The branch main has been updated by ume:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d859c1e769c730c23cff0920626d223b0a034c30
commit d859c1e769c730c23cff0920626d223b0a034c30
Author: Hajimu UMEMOTO <ume at FreeBSD.org>
AuthorDate: 2021-05-13 12:09:57 +0000
Commit: Hajimu UMEMOTO <ume at FreeBSD.org>
CommitDate: 2021-05-13 12:16:00 +0000
Add FLAVOR for enable HTTP.
Requested by: Adam Mokhtari <adam at mokhtari.io>
---
mail/cyrus-imapd34/Makefile | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/mail/cyrus-imapd34/Makefile b/mail/cyrus-imapd34/Makefile
index 0023e946fe10..bc2500757493 100644
--- a/mail/cyrus-imapd34/Makefile
+++ b/mail/cyrus-imapd34/Makefile
@@ -3,16 +3,22 @@ PORTVERSION= 3.4.1
PORTREVISION= 0
CATEGORIES= mail
MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${PORTVERSION}/
-PKGNAMESUFFIX= 34
+PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}
MAINTAINER= ume at FreeBSD.org
-COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols
+COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}}
+COMMENT_http= (with HTTP)
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_riscv64= fails to build: lib/chartable.c: Error 1
+FLAVORS= basic http
+http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http
+
+CYRUS_IMAPD_VER= 34
+
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \
libicuuc.so:devel/icu \
libjansson.so:devel/jansson \
@@ -49,6 +55,9 @@ OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV HTTP IDLED LDAP MURDER \
MYSQL NNTP PGSQL REPLICATION SQLITE SQUAT SRS \
XAPIAN DOCS
OPTIONS_DEFAULT= AUTOCREATE IDLED SQLITE SQUAT SRS
+.if ${FLAVOR:U} == http
+OPTIONS_DEFAULT+= HTTP
+.endif
OPTIONS_SUB= yes
AUTOCREATE_DESC= Enable autocreate support
AUTOCREATE_CONFIGURE_ENABLE= autocreate
More information about the dev-commits-ports-all
mailing list