aboutsummaryrefslogtreecommitdiff
path: root/mail/mpop/Makefile
blob: f68c79d438522e852f2e026ac8e3b1c443eba707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    mpop
# Date created:         2009-10-24
# Whom:                 Sylvio Cesar <sylvio@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mpop
PORTVERSION=	1.0.20
CATEGORIES=	mail
MASTER_SITES=	SF

MAINTAINER=	sylvio@FreeBSD.org
COMMENT=	MPOP is a small and fast POP3 client

LIB_DEPENDS=	idn.16:${PORTSDIR}/dns/libidn

OPTIONS=	GNUTLS  "Enable gnuTLS support" on \
		GSASL "GNU SASL authentication support" on

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-libidn

MAN1=	mpop.1
INFO=	mpop

.include <bsd.port.options.mk>

.if defined(WITH_GNUTLS)
LIB_DEPENDS+=		gnutls.40:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=	--with-ssl=gnutls
.else
USE_OPENSSL=		yes
CONFIGURE_ARGS+=	--with-ssl=openssl
.endif

.if defined(WITH_GSASL)
LIB_DEPENDS+=		gsasl.14:${PORTSDIR}/security/gsasl
.else
CONFIGURE_ARGS+=	--without-libgsasl-prefix
.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>