aboutsummaryrefslogtreecommitdiffstats
path: root/mail/msmtp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/msmtp/Makefile')
-rw-r--r--mail/msmtp/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 07d23d75ae32..82146f3505e8 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msmtp
-PORTVERSION= 1.4.5
+PORTVERSION= 1.4.6
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
@@ -21,7 +21,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-MAN1= msmtp.1
+CONFIGURE_ARGS+= --infodir="${PREFIX}/info" --mandir="${PREFIX}/man"
+MAN1= msmtp.1
INFO= msmtp
.if defined(WITH_GNUTLS)
@@ -31,13 +32,20 @@ CONFIGURE_ARGS+= --with-ssl=gnutls
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=openssl
.else
-CONFIGURE_ARGS+= --disable-ssl
+CONFIGURE_ARGS+= --without-ssl
.endif
.if defined(WITH_GSASL)
LIB_DEPENDS+= gsasl.9:${PORTSDIR}/security/gsasl
.else
-CONFIGURE_ARGS+= --disable-gsasl
+CONFIGURE_ARGS+= --without-gsasl
+.endif
+
+.if !defined(WITHOUT_IDN)
+LIB_DEPENDS+= idn.16:${PORTSDIR}/dns/libidn
+CONFIGURE_ARGS+= --with-libidn
+.else
+CONFIGURE_ARGS+= --without-libidn
.endif
.if !defined(WITHOUT_NLS)