aboutsummaryrefslogtreecommitdiff
path: root/mail/mpop
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-17 20:18:03 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-17 20:18:03 +0000
commit83d663237a9cae4c8d5789f7c5d98ef96b3f5521 (patch)
tree358326d0f619d276a8ef9467d6672c6beb781066 /mail/mpop
parent5d32d6b4736dc063e01ef0a8b63c04039eab1e28 (diff)
downloadports-83d663237a9cae4c8d5789f7c5d98ef96b3f5521.tar.gz
ports-83d663237a9cae4c8d5789f7c5d98ef96b3f5521.zip
Notes
Diffstat (limited to 'mail/mpop')
-rw-r--r--mail/mpop/Makefile33
-rw-r--r--mail/mpop/distinfo6
-rw-r--r--mail/mpop/pkg-plist1
3 files changed, 17 insertions, 23 deletions
diff --git a/mail/mpop/Makefile b/mail/mpop/Makefile
index aa15aef5d6d0..f68c79d43852 100644
--- a/mail/mpop/Makefile
+++ b/mail/mpop/Makefile
@@ -6,46 +6,39 @@
#
PORTNAME= mpop
-PORTVERSION= 1.0.19
+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
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+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
-.elif defined(WITH_OPENSSL)
+.else
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=openssl
-.else
-CONFIGURE_ARGS+= --without-ssl
-.endif
-
-.if defined(WITH_GNUTLS) || defined(WITH_OPENSSL)
-RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
.endif
.if defined(WITH_GSASL)
LIB_DEPENDS+= gsasl.14:${PORTSDIR}/security/gsasl
.else
-CONFIGURE_ARGS+= --without-gsasl
-.endif
-
-.if !defined(WITHOUT_IDN)
-LIB_DEPENDS+= idn.16:${PORTSDIR}/dns/libidn
-CONFIGURE_ARGS+= --with-libidn
-.else
-CONFIGURE_ARGS+= --without-libidn
+CONFIGURE_ARGS+= --without-libgsasl-prefix
.endif
.if !defined(WITHOUT_NLS)
@@ -53,7 +46,7 @@ USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB= NLS=""
.else
-CONFIGURE_ARGS+= --disable-nls
+CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
diff --git a/mail/mpop/distinfo b/mail/mpop/distinfo
index ec0a90e849e4..8ef56a650a44 100644
--- a/mail/mpop/distinfo
+++ b/mail/mpop/distinfo
@@ -1,3 +1,3 @@
-MD5 (mpop-1.0.19.tar.bz2) = 40a48d486121a15075faee944a7b8fb7
-SHA256 (mpop-1.0.19.tar.bz2) = 3151f3d0fb34f0f93bcd139ab87ec6c4ba23b3d0768a88c310fe0838c41b6d01
-SIZE (mpop-1.0.19.tar.bz2) = 839096
+MD5 (mpop-1.0.20.tar.bz2) = c49b50d962b75c7ac26a658ca96227be
+SHA256 (mpop-1.0.20.tar.bz2) = 95b33216cf32d2b292aaf4e4b245687c1f81b216453ec21bce911c6d28d78efd
+SIZE (mpop-1.0.20.tar.bz2) = 867358
diff --git a/mail/mpop/pkg-plist b/mail/mpop/pkg-plist
index 0fe6b056415e..660a329886b6 100644
--- a/mail/mpop/pkg-plist
+++ b/mail/mpop/pkg-plist
@@ -1,3 +1,4 @@
bin/mpop
%%NLS%%share/locale/de/LC_MESSAGES/mpop.mo
%%NLS%%share/locale/es/LC_MESSAGES/mpop.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/mpop.mo