aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-21 18:06:35 +0800
committergarga <garga@FreeBSD.org>2006-03-21 18:06:35 +0800
commitac5feed1b4813abde3d69a1497faf78a3ba68cd3 (patch)
tree8183f5868d3235679599f69b6d70f85e5e91acd6 /mail/mutt-devel
parenta55ced73f10f1682c91a12e239331055dc36dadc (diff)
downloadfreebsd-ports-gnome-ac5feed1b4813abde3d69a1497faf78a3ba68cd3.tar.gz
freebsd-ports-gnome-ac5feed1b4813abde3d69a1497faf78a3ba68cd3.tar.zst
freebsd-ports-gnome-ac5feed1b4813abde3d69a1497faf78a3ba68cd3.zip
Add WITH_MUTT_GPGME knob
PR: ports/94745 Submitted by: Ed Schouten <ed@fxq.nl> Reworked by: maintainer
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 797176f1234b..45b5cb6b31e5 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -45,6 +45,9 @@
# If you want mutt to use the idn library define:
# WITH_MUTT_IDN
#
+# If you want to make use of the gpgme interface define:
+# WITH_MUTT_GPGME
+#
# If you want to enable extended quoting functions define:
# WITH_MUTT_QUOTE_PATCH
# This is a default knob and can be disabled by WITHOUT_MUTT_QUOTE_PATCH
@@ -297,6 +300,9 @@ WITH_MUTT_IDN= yes
.if defined(WITH_MUTT_IDN)
LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn
.endif
+.if defined(WITH_MUTT_GPGME)
+LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
+.endif
.if ! defined(WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT)
post-patch::
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smime-outlook
@@ -363,6 +369,11 @@ CONFIGURE_ARGS+= --with-idn
.else
CONFIGURE_ARGS+= --without-idn
.endif
+.if defined(WITH_MUTT_GPGME)
+CONFIGURE_ARGS+= --enable-gpgme
+.else
+CONFIGURE_ARGS+= --disable-gpgme
+.endif
PATCH_DIST_STRIP= -p1