Lines 2-52
Link Here
|
2 |
# $FreeBSD: head/mail/mpop/Makefile 357526 2014-06-11 18:55:29Z marino $ |
2 |
# $FreeBSD: head/mail/mpop/Makefile 357526 2014-06-11 18:55:29Z marino $ |
3 |
|
3 |
|
4 |
PORTNAME= mpop |
4 |
PORTNAME= mpop |
5 |
PORTVERSION= 1.0.28 |
5 |
PORTVERSION= 1.0.29 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= mail |
6 |
CATEGORIES= mail |
8 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= MPOP is a small and fast POP3 client |
10 |
COMMENT= Small and fast POP3 client |
12 |
|
11 |
|
13 |
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn |
12 |
LICENSE= GPLv3 # (or later) |
14 |
|
|
|
15 |
OPTIONS_DEFINE= GSASL NLS |
16 |
OPTIONS_RADIO= SSL |
17 |
OPTIONS_RADIO_SSL= GNUTLS OPENSSL |
18 |
OPTIONS_SUB= yes |
19 |
|
20 |
GSASL_DESC= GSASL GNU SASL authentication support |
21 |
|
22 |
NLS_USES= gettext |
23 |
NLS_CONFIGURE_ENABLE= nls |
24 |
|
13 |
|
25 |
USES= pkgconfig tar:bzip2 |
14 |
USES= pkgconfig tar:bzip2 |
26 |
GNU_CONFIGURE= yes |
15 |
GNU_CONFIGURE= yes |
27 |
CONFIGURE_ARGS+= --with-libidn |
16 |
CONFIGURE_ARGS= --disable-silent-rules |
28 |
|
17 |
|
29 |
INFO= mpop |
18 |
INFO= mpop |
30 |
|
19 |
|
31 |
.include <bsd.port.options.mk> |
20 |
OPTIONS_DEFINE= GNOMEKEYRING GSASL IDN NLS |
|
|
21 |
OPTIONS_RADIO= SSL |
22 |
OPTIONS_RADIO_SSL= GNUTLS OPENSSL |
23 |
OPTIONS_DEFAULT= IDN OPENSSL |
24 |
OPTIONS_SUB= yes |
32 |
|
25 |
|
33 |
.if ${PORT_OPTIONS:MGNUTLS} |
26 |
GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring:${PORTSDIR}/security/libgnome-keyring |
34 |
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls |
27 |
GNOMEKEYRING_CONFIGURE_WITH= gnome-keyring |
35 |
CONFIGURE_ARGS+= --with-ssl=gnutls |
28 |
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls |
36 |
.elif ${PORT_OPTIONS:MOPENSSL} |
29 |
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls |
37 |
USE_GCC= yes |
30 |
GSASL_DESC= SASL authentication support via GNU SASL |
38 |
USE_OPENSSL= yes |
31 |
GSASL_LIB_DEPENDS= libgsasl.so:${PORTSDIR}/security/gsasl |
39 |
CONFIGURE_ARGS+= --with-ssl=openssl \ |
32 |
GSASL_CONFIGURE_OFF= --without-libgsasl |
|
|
33 |
IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn |
34 |
IDN_CONFIGURE_WITH= libidn |
35 |
NLS_USES= gettext |
36 |
NLS_CONFIGURE_ENABLE= nls |
37 |
OPENSSL_USE= openssl=yes |
38 |
OPENSSL_CONFIGURE_ON= --with-ssl=openssl \ |
40 |
libssl_CFLAGS=-I${OPENSSLINC} \ |
39 |
libssl_CFLAGS=-I${OPENSSLINC} \ |
41 |
libssl_LIBS=-lssl |
40 |
libssl_LIBS="-lssl -lcrypto" |
42 |
.else |
|
|
43 |
CONFIGURE_ARGS+= --with-ssl=no |
44 |
.endif |
45 |
|
41 |
|
46 |
.if ${PORT_OPTIONS:MGSASL} |
42 |
.include <bsd.port.options.mk> |
47 |
LIB_DEPENDS+= libgsasl.so:${PORTSDIR}/security/gsasl |
43 |
|
48 |
.else |
44 |
.if empty(PORT_OPTIONS:MGNUTLS) && empty(PORT_OPTIONS:MOPENSSL) |
49 |
CONFIGURE_ARGS+= --without-libgsasl |
45 |
CONFIGURE_ARGS+= --with-ssl=no |
50 |
.endif |
46 |
.endif |
51 |
|
47 |
|
52 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |