freebsd-ports/mail/msmtp/Makefile
Pav Lucistnik ff9311eff4 - Update to 0.7.2
PR:		ports/65094
Submitted by:	Herbert J. Skuhra <herbert.skuhra@gmx.at>
Approved by:	maintainer
2004-04-03 20:11:19 +00:00

45 lines
968 B
Makefile

# Ports collection makefile for: msmtp
# Date created: 22 Aug 2003
# Whom: R.I.Pienaar <rip@devco.net>
#
# $FreeBSD$
#
PORTNAME= msmtp
PORTVERSION= 0.7.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
MAINTAINER= rip@devco.net
COMMENT= SMTP plugin for MUAs
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
.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>