blob: ae93c641f1b37ef3afc6defb811f3233821d74bb (
plain)
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
|
# Created by: Sylvio Cesar <sylvio@FreeBSD.org>
# $FreeBSD$
PORTNAME= mpop
PORTVERSION= 1.0.27
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= sylvio@FreeBSD.org
COMMENT= MPOP is a small and fast POP3 client
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn
OPTIONS_DEFINE= GNUTLS GSASL NLS
GNUTLS_DESC= GNUTLS Enable gnuTLS support
GSASL_DESC= GSASL GNU SASL authentication support
USES= pkgconfig
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libidn
MAN1= mpop.1
INFO= mpop
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTLS}
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+= --with-ssl=gnutls
.else
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=openssl
.endif
.if ${PORT_OPTIONS:MGSASL}
LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl
.else
CONFIGURE_ARGS+= --without-libgsasl-prefix
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
.include <bsd.port.mk>
|