aboutsummaryrefslogtreecommitdiffstats
path: root/mail/msmtp/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-04-04 04:11:19 +0800
committerpav <pav@FreeBSD.org>2004-04-04 04:11:19 +0800
commit3f2733191e6c8e212e10c9621ac18a64a3ac495f (patch)
treeed97198abd045772cb5e68e49a49858ff611c7f3 /mail/msmtp/Makefile
parent68a64f1fbfa76ae0bcf02cc38c168e3ab5fe508c (diff)
downloadfreebsd-ports-graphics-3f2733191e6c8e212e10c9621ac18a64a3ac495f.tar.gz
freebsd-ports-graphics-3f2733191e6c8e212e10c9621ac18a64a3ac495f.tar.zst
freebsd-ports-graphics-3f2733191e6c8e212e10c9621ac18a64a3ac495f.zip
- Update to 0.7.2
PR: ports/65094 Submitted by: Herbert J. Skuhra <herbert.skuhra@gmx.at> Approved by: maintainer
Diffstat (limited to 'mail/msmtp/Makefile')
-rw-r--r--mail/msmtp/Makefile46
1 files changed, 25 insertions, 21 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 936da9f1c43..9776d6af7a3 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msmtp
-PORTVERSION= 0.5.0
+PORTVERSION= 0.7.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
@@ -14,28 +14,32 @@ MASTER_SITE_SUBDIR= msmtp
MAINTAINER= rip@devco.net
COMMENT= SMTP plugin for MUAs
-USE_GETOPT_LONG= yes
-USE_OPENSSL= yes
-USE_REINPLACE= yes
-
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GMAKE= yes
MAN1= msmtp.1
PLIST_FILES= bin/msmtp
-post-patch:
- @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|g ; \
- s|CC =|CC ?=|g' \
- ${WRKSRC}/Makefile
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/msmtp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/msmtp.1 ${PREFIX}/man/man1
-
-post-install:
- @${ECHO_CMD} "*****************************************************************************"
- @${ECHO_CMD} ""
- @${ECHO_CMD} "Please note that since version 0.5.0 this program uses a configuration file"
- @${ECHO_CMD} "rather than the old command line options, see the man page."
- @${ECHO_CMD} ""
- @${ECHO_CMD} "***************************************************************************##"
+.if !defined(WITH_OPENSSL)
+WITH_GNUTLS= yes
+.endif
+
+.if defined(WITH_GNUTLS)
+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
+.endif
+
+.if defined(WITH_OPENSSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-ssl=openssl
+.endif
+
+.if defined(WITH_GNU_SASL)
+LIB_DEPENDS+= gsasl:${PORTSDIR}/security/gsasl
+.else
+CONFIGURE_ARGS+= --disable-gsasl
+.endif
.include <bsd.port.mk>