# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {snc @nerdling} openmaintainer
description A webmail system which accesses mail over IMAP
long_description SquirrelMail is a standards-based webmail package written \
in PHP4. It includes built-in pure PHP support for the \
IMAP and SMTP protocols, and all pages render in pure HTML \
4.0 (with no JavaScript) for maximum compatibility across \
browsers. It has very few requirements and is very easy to \
configure and install. SquirrelMail has all the \
functionality you would want from an email client, \
including strong MIME support, address books, and folder \
homepage http://squirrelmail.org
foreach php {php55 php56 php70 php71} {
variant ${php} description "Use ${php}" "
if {![variant_isset php55] && ![variant_isset php56] && ![variant_isset php70]} {
distname ${name}-webmail-${version}
checksums rmd160 08c2aff84a3750dc6f0704a0105bc42a74966eb0 \
sha256 2231578d0f9abeae52bc4e461a6773d78762f20a27e1e2fbebc1a11ccd1af877
set docpath ${destroot}${prefix}/www/${name}
xinstall -m 755 -d ${docpath}
file copy {*}[glob ${workpath}/${distname}/*] ${docpath}
livecheck.url ${homepage}/download.php
livecheck.regex ${name}-webmail-(\\d+\\.\\d+\\.\\d+)${extract.suffix}