summaryrefslogtreecommitdiff
path: root/mail/mpop/options.mk
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/options.mk
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/options.mk')
-rw-r--r--mail/mpop/options.mk25
1 files changed, 25 insertions, 0 deletions
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