2003-08-22 19:27:55 +00:00
|
|
|
# Ports collection makefile for: msmtp
|
|
|
|
# Date created: 22 Aug 2003
|
|
|
|
# Whom: R.I.Pienaar <rip@devco.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= msmtp
|
2008-12-27 07:39:47 +00:00
|
|
|
PORTVERSION= 1.4.17
|
2009-02-06 07:24:05 +00:00
|
|
|
PORTREVISION= 1
|
2004-06-03 09:09:28 +00:00
|
|
|
CATEGORIES= mail ipv6
|
2003-08-22 19:27:55 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= msmtp
|
|
|
|
|
2005-03-08 07:38:35 +00:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2003-09-25 21:49:26 +00:00
|
|
|
COMMENT= SMTP plugin for MUAs
|
2003-08-22 19:27:55 +00:00
|
|
|
|
2005-04-10 13:14:44 +00:00
|
|
|
USE_BZIP2= yes
|
2004-04-03 20:11:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2006-06-20 06:14:49 +00:00
|
|
|
MAN1= msmtp.1
|
2005-04-20 03:24:37 +00:00
|
|
|
INFO= msmtp
|
2003-08-22 19:27:55 +00:00
|
|
|
|
2005-04-10 13:14:44 +00:00
|
|
|
.if defined(WITH_GNUTLS)
|
2008-03-03 11:57:08 +00:00
|
|
|
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
|
2005-04-10 13:14:44 +00:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=gnutls
|
2005-12-22 18:55:47 +00:00
|
|
|
.elif defined(WITH_OPENSSL)
|
2004-04-03 20:11:19 +00:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-ssl=openssl
|
2005-04-10 13:14:44 +00:00
|
|
|
.else
|
2006-06-20 06:14:49 +00:00
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
2004-04-03 20:11:19 +00:00
|
|
|
.endif
|
|
|
|
|
2007-04-27 05:09:30 +00:00
|
|
|
.if defined(WITH_GNUTLS) || defined(WITH_OPENSSL)
|
2008-06-20 06:45:04 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
2007-04-27 05:09:30 +00:00
|
|
|
.endif
|
|
|
|
|
2005-04-10 13:14:44 +00:00
|
|
|
.if defined(WITH_GSASL)
|
2009-02-06 07:24:05 +00:00
|
|
|
LIB_DEPENDS+= gsasl.13:${PORTSDIR}/security/gsasl
|
2004-04-03 20:11:19 +00:00
|
|
|
.else
|
2006-06-20 06:14:49 +00:00
|
|
|
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
|
2004-04-03 20:11:19 +00:00
|
|
|
.endif
|
2003-09-25 21:49:26 +00:00
|
|
|
|
2005-07-09 05:56:40 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-08-22 19:27:55 +00:00
|
|
|
.include <bsd.port.mk>
|