summaryrefslogtreecommitdiff
path: root/mail/mpop
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-13 03:09:20 +0000
committerminskim <minskim@pkgsrc.org>2005-11-13 03:09:20 +0000
commitf5070ffee3ff8ce107e423caafb73ac5d23c2555 (patch)
tree4d9b36e00dcd902c91ac05d74a3b4def51960be4 /mail/mpop
parenta051026e069f40ee5fbb30dc34e6e33fab0971e9 (diff)
downloadpkgsrc-f5070ffee3ff8ce107e423caafb73ac5d23c2555.tar.gz
Import mpop from pkgsrc-wip. Packaged by Leonard Schmidt.
mpop is a small, fast, and portable POP3 client. Its features include header-based email filtering (filter junk mail before downloading it), delivery to mbox files, maildir folders, or a mail delivery agent, a very fast POP3 implementation, many authentication methods, and good support for TLS/SSL.
Diffstat (limited to 'mail/mpop')
-rw-r--r--mail/mpop/DESCR5
-rw-r--r--mail/mpop/Makefile36
-rw-r--r--mail/mpop/PLIST6
-rw-r--r--mail/mpop/distinfo5
-rw-r--r--mail/mpop/options.mk25
5 files changed, 77 insertions, 0 deletions
diff --git a/mail/mpop/DESCR b/mail/mpop/DESCR
new file mode 100644
index 00000000000..ccae4b7bb5a
--- /dev/null
+++ b/mail/mpop/DESCR
@@ -0,0 +1,5 @@
+mpop is a small, fast, and portable POP3 client. Its features include
+header-based email filtering (filter junk mail before downloading it),
+delivery to mbox files, maildir folders, or a mail delivery agent, a
+very fast POP3 implementation, many authentication methods, and good
+support for TLS/SSL.
diff --git a/mail/mpop/Makefile b/mail/mpop/Makefile
new file mode 100644
index 00000000000..2b496bbbc40
--- /dev/null
+++ b/mail/mpop/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/13 03:09:20 minskim Exp $
+#
+
+DISTNAME= mpop-0.8.2
+PKGREVISION= 1
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpop/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= lems@gmx.net
+HOMEPAGE= http://mpop.sourceforge.net/
+COMMENT= Small, fast and portable POP3 client
+
+GNU_CONFIGURE= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+
+CONFIGURE_ARGS+= --enable-nls
+
+PKG_SYSCONFSUBDIR= mpop
+
+EGDIR= ${PREFIX}/share/examples/mpop
+CONF_FILES= ${EGDIR}/mpoprc.example ${PKG_SYSCONFDIR}/mpoprc
+
+INFO_FILES= mpop.info
+
+.include "options.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libgetopt/buildlink3.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mpop/PLIST b/mail/mpop/PLIST
new file mode 100644
index 00000000000..cdc8b6792e2
--- /dev/null
+++ b/mail/mpop/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/13 03:09:20 minskim Exp $
+bin/mpop
+man/man1/mpop.1
+share/examples/mpop/mpoprc.example
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/mpop.mo
+@dirrm share/examples/mpop
diff --git a/mail/mpop/distinfo b/mail/mpop/distinfo
new file mode 100644
index 00000000000..de8df89f517
--- /dev/null
+++ b/mail/mpop/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/13 03:09:20 minskim Exp $
+
+SHA1 (mpop-0.8.2.tar.bz2) = 240fbe3e93051a50e403f342b0dab822e91cdb15
+RMD160 (mpop-0.8.2.tar.bz2) = ea1fc39769ea14cc62c07847a695524baa462867
+Size (mpop-0.8.2.tar.bz2) = 475994 bytes
diff --git a/mail/mpop/options.mk b/mail/mpop/options.mk
new file mode 100644
index 00000000000..0a0732eac49
--- /dev/null
+++ b/mail/mpop/options.mk
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/11/13 03:09:20 minskim Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mpop
+PKG_SUPPORTED_OPTIONS= gsasl
+PKG_OPTIONS_OPTIONAL_GROUPS= ssl
+PKG_OPTIONS_GROUP.ssl= gnutls ssl
+PKG_SUGGESTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+CONFIGURE_ARGS+= --with-ssl=gnutls
+. include "../../security/gnutls/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --with-ssl=openssl
+. include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ssl
+.endif
+
+.if !empty(PKG_OPTIONS:Mgsasl)
+CONFIGURE_ARGS+= --enable-gsasl
+. include "../../security/gsasl/buildlink3.mk"
+.endif