# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
maintainers snc openmaintainer
description University of Washington IMAP daemon
long_description IMAP (Internet Message Access Protocol) is a method \
of accessing electronic messages kept on a (possibly \
shared) mail server. This port provides the \
University of Washington IMAP toolkit (IMAP \
supporting software developed by the UW).
homepage http://www.washington.edu/imap/
master_sites ftp://ftp.cac.washington.edu/imap/ \
ftp://ftp.cac.washington.edu/imap/old/
checksums md5 519d68a8650420ae33eb7085dd6a8150 \
sha1 24c63cad8d0e74aa76e4341fcfa54d24f23a8c70 \
rmd160 7d6af203419975f763d7ec17b6a4544c94490b50
# Ensure we're UsingTheRightCompiler
build.args-append CC=${configure.cc}
if {"darwin" == ${os.platform} && ${os.major} >= 10} {
patchfiles-append patch-snowleopard.diff
# Default is to enable SSL support and plaintext authentication
# permitted only in SSL/TLS sessions.
# Variant to enable SSL support and plaintext authentication
variant ssl_plain description { enable SSL support and plaintext authentication } {
patchfiles-append patch-Makefile.diff
build.args-append SSLTYPE=unix
# Variant to enable SSL with PAM support for Mac OS X
variant ssl_pam description { enable SSL with PAM support } {
depends_lib lib:libssl.0.9:openssl
patchfiles-append patch-Makefile.diff
build.args-append SSLTYPE=unix
xinstall -m 0644 ${filespath}/README-MACOSX \
${filespath}/etc-pam.d-imap \
${filespath}/etc-xinetd.d-imap \
${filespath}/etc-xinetd.d-imaps \