Files

58 lines
2.0 KiB
Tcl

# -*- 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
PortSystem 1.0
name squirrelmail
version 1.4.22
categories www mail php
license GPL
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 \
manipulation.
homepage http://squirrelmail.org
platforms any
supported_archs noarch
foreach php {php55 php56 php70 php71} {
variant ${php} description "Use ${php}" "
depends_run \
port:${php}-gettext \
port:${php}-mbstring \
port:${php}-pspell
"
}
if {![variant_isset php55] && ![variant_isset php56] && ![variant_isset php70]} {
default_variants +php71
}
use_bzip2 yes
master_sites sourceforge
distname ${name}-webmail-${version}
checksums rmd160 08c2aff84a3750dc6f0704a0105bc42a74966eb0 \
sha256 2231578d0f9abeae52bc4e461a6773d78762f20a27e1e2fbebc1a11ccd1af877
use_configure no
build {}
set docpath ${destroot}${prefix}/www/${name}
destroot {
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}