git: 4d5f3d985056 - main - mail/evolution: Add MARKDOWN option

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Fri, 27 May 2022 23:08:09 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d5f3d985056b9d519fdde3e4822b7b573c8f099

commit 4d5f3d985056b9d519fdde3e4822b7b573c8f099
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-05-27 23:07:58 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-05-27 23:07:58 +0000

    mail/evolution: Add MARKDOWN option
    
    PR:     263164
---
 mail/evolution/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index b1c8082924ff..9e561dc2bd49 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	evolution
 DISTVERSION=	3.44.1
+PORTREVISION=	1
 CATEGORIES=	mail gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -18,8 +19,7 @@ LICENSE_PERMS_OPENLDAP=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 BUILD_DEPENDS=	highlight:textproc/highlight \
 		iso-codes>=0:misc/iso-codes \
 		itstool:textproc/itstool
-LIB_DEPENDS=	libcmark.so:textproc/cmark \
-		libcryptui.so:security/libcryptui \
+LIB_DEPENDS=	libcryptui.so:security/libcryptui \
 		libdbus-1.so:devel/dbus \
 		libdbus-glib-1.so:devel/dbus-glib \
 		libenchant-2.so:textproc/enchant2 \
@@ -81,8 +81,8 @@ PLIST_SUB=	PORTVERSION=2.12 \
 		VERSION=${EVO_VERSION}
 
 OPTIONS_SUB=		yes
-OPTIONS_DEFINE=		CANBERRA LDAP MAPS PST WEATHER YTNEF
-OPTIONS_DEFAULT=	BOGOFILTER CANBERRA LDAP WEATHER
+OPTIONS_DEFINE=		CANBERRA LDAP MAPS MARKDOWN PST WEATHER YTNEF
+OPTIONS_DEFAULT=	BOGOFILTER CANBERRA LDAP MARKDOWN WEATHER
 
 SPAM_DESC=		Spam filter support
 OPTIONS_GROUP=		SPAM
@@ -135,4 +135,8 @@ MAPS_USES=		gl xorg
 MAPS_USE=		GL=egl \
 			XORG=xcomposite,xdamage,xext,xfixes,xi,xrandr
 
+MARKDOWN_CMAKE_ON=	-DENABLE_MARKDOWN=ON
+MARKDOWN_CMAKE_OFF=	-DENABLE_MARKDOWN=OFF
+MARKDOWN_LIB_DEPENDS=	libcmark.so:textproc/cmark
+
 .include <bsd.port.mk>