freebsd-ports/mail/mpop/Makefile
Thomas Zander 8800e4bb1c - Update to upstream version 1.2.0
- Remove GNOMEKEYRING OPTION, add LIBSECRET

PR:		195876
Submitted by:	jbeich@vfemail.net
2015-01-06 16:09:52 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Sylvio Cesar <sylvio@FreeBSD.org>
# $FreeBSD$
PORTNAME= mpop
DISTVERSION= 1.2.0
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Small and fast POP3 client
LICENSE= GPLv3 # (or later)
USES= gmake pkgconfig tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules
INFO= mpop
OPTIONS_DEFINE= GSASL IDN LIBSECRET NLS
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= IDN OPENSSL
OPTIONS_SUB= yes
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
GSASL_DESC= SASL authentication support via GNU SASL
GSASL_LIB_DEPENDS= libgsasl.so:${PORTSDIR}/security/gsasl
GSASL_CONFIGURE_OFF= --without-libgsasl
IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
IDN_CONFIGURE_WITH= libidn
LIBSECRET_DESC= GNOME password management
LIBSECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret
LIBSECRET_CONFIGURE_WITH= libsecret
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
OPENSSL_USE= openssl=yes
OPENSSL_CONFIGURE_ON= --with-ssl=openssl \
libssl_CFLAGS=-I${OPENSSLINC} \
libssl_LIBS="-lssl -lcrypto"
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MGNUTLS) && empty(PORT_OPTIONS:MOPENSSL)
CONFIGURE_ARGS+= --with-ssl=no
.endif
.include <bsd.port.mk>