Lines 2-22
Link Here
|
2 |
# $FreeBSD: mail/mpop/Makefile 322306 2013-07-05 06:33:58Z bapt $ |
2 |
# $FreeBSD: mail/mpop/Makefile 322306 2013-07-05 06:33:58Z bapt $ |
3 |
PORTNAME= mpop |
3 |
PORTNAME= mpop |
4 |
PORTVERSION= 1.0.27 |
4 |
PORTVERSION= 1.0.28 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= mail |
5 |
CATEGORIES= mail |
7 |
MASTER_SITES= SF |
6 |
MASTER_SITES= SF |
8 |
MAINTAINER= sylvio@FreeBSD.org |
7 |
MAINTAINER= sylvio@FreeBSD.org |
9 |
COMMENT= MPOP is a small and fast POP3 client |
8 |
COMMENT= MPOP is a small and fast POP3 client |
10 |
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn |
9 |
LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn |
11 |
OPTIONS_DEFINE= GNUTLS GSASL NLS |
10 |
OPTIONS_DEFINE= GNUTLS GSASL OPENSSL NLS |
12 |
GNUTLS_DESC= GNUTLS Enable gnuTLS support |
|
|
13 |
GSASL_DESC= GSASL GNU SASL authentication support |
11 |
GSASL_DESC= GSASL GNU SASL authentication support |
14 |
USES= pkgconfig |
12 |
USES= gettext pkgconfig |
15 |
USE_BZIP2= yes |
13 |
USE_BZIP2= yes |
16 |
GNU_CONFIGURE= yes |
14 |
GNU_CONFIGURE= yes |
17 |
CONFIGURE_ARGS+= --with-libidn |
15 |
CONFIGURE_ARGS+= --with-libidn |
Lines 27-47
Link Here
|
27 |
.include <bsd.port.options.mk> |
25 |
.include <bsd.port.options.mk> |
28 |
.if ${PORT_OPTIONS:MGNUTLS} |
26 |
.if ${PORT_OPTIONS:MGNUTLS} |
29 |
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls |
27 |
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls |
30 |
CONFIGURE_ARGS+= --with-ssl=gnutls |
28 |
CONFIGURE_ARGS+= --with-ssl=gnutls |
31 |
.else |
29 |
.elif ${PORT_OPTIONS:MOPENSSL} |
|
|
30 |
USE_GCC= 4.2+ |
32 |
USE_OPENSSL= yes |
31 |
USE_OPENSSL= yes |
33 |
CONFIGURE_ARGS+= --with-ssl=openssl |
32 |
CONFIGURE_ARGS+= --with-ssl=openssl\ |
|
|
33 |
libssl_CFLAGS=-I${OPENSSLINC}\ |
34 |
libssl_LIBS=-lssl |
35 |
.else |
36 |
CONFIGURE_ARGS+= --with-ssl=no |
34 |
.endif |
37 |
.endif |
35 |
.if ${PORT_OPTIONS:MGSASL} |
38 |
.if ${PORT_OPTIONS:MGSASL} |
36 |
LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl |
39 |
LIB_DEPENDS+= gsasl:${PORTSDIR}/security/gsasl |
37 |
.else |
40 |
.else |
38 |
CONFIGURE_ARGS+= --without-libgsasl-prefix |
41 |
CONFIGURE_ARGS+= --without-libgsasl |
39 |
.endif |
42 |
.endif |
40 |
.if ${PORT_OPTIONS:MNLS} |
43 |
.if ${PORT_OPTIONS:MNLS} |
41 |
USES+= gettext |
44 |
USES+= gettext |
42 |
CONFIGURE_ARGS+= --enable-nls |
45 |
CONFIGURE_ARGS+= --enable-nls |
43 |
PLIST_SUB= NLS="" |
46 |
PLIST_SUB= NLS="" |
44 |
.else |
47 |
.else |