1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/mail/msmtp/Makefile
Volker Stolz a48ae76ae3 Update to 1.2.2
PR:		ports/70641
Submitted by:	Roman Bogorodskiy (maintainer)
2004-08-19 14:18:47 +00:00

46 lines
985 B
Makefile

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