# -*- 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 mathiesen.info:macintosh
description Roundcube webmail
long_description This project is a free and open source webmail solution with a desktop-like \
user interface which is easy to install/configure and that runs on a standard \
LAMPP server. The skins use the latest web standards such as XHTML and CSS 2. \
Roundcube includes other sophisticated open-source libraries such as PEAR, \
an IMAP library derived from IlohaMail the TinyMCE rich text editor, \
Googiespell library for spell checking or the WasHTML sanitizer by Frederic Motte.
homepage http://roundcube.net/
# The php variants deliberately do not conflict
foreach php {php54 php55 php56} {
variant ${php} description "Use ${php}" "
depends_run-append port:${php}-mbstring \
# Also needs dependency on ${php}-web pending resolution of:
# https://trac.macports.org/ticket/45008
if {![variant_isset php54] && ![variant_isset php55] && ![variant_isset php56]} {
master_sites sourceforge:project/${name}/${name}/${version}
checksums rmd160 e4301d85004cc5986743ef16e3c4ea2c3f8dd9fd \
sha256 343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34
destroot.violate_mtree yes
set docpath ${destroot}${prefix}/www/${name}
xinstall -m 755 -d ${docpath}/html
file copy {*}[glob ${workpath}/${distname}/*] ${docpath}/html