1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/msmtp/Makefile

63 lines
1.4 KiB
Makefile
Raw Normal View History

# 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
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
MAINTAINER= novel@FreeBSD.org
COMMENT= SMTP plugin for MUAs
2005-04-10 13:14:44 +00:00
USE_BZIP2= yes
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
INFO= msmtp
2005-04-10 13:14:44 +00:00
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
2005-04-10 13:14:44 +00:00
CONFIGURE_ARGS+= --with-ssl=gnutls
.elif defined(WITH_OPENSSL)
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
.endif
.if defined(WITH_GNUTLS) || defined(WITH_OPENSSL)
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
.endif
2005-04-10 13:14:44 +00:00
.if defined(WITH_GSASL)
LIB_DEPENDS+= gsasl.13:${PORTSDIR}/security/gsasl
.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
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
.include <bsd.port.mk>