# -*- 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
# $Id$

PortSystem          1.0

name                roundcubemail
version             0.7
categories          www mail php
license             GPL-2+
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/

platforms           darwin freebsd
depends_run         port:php5-web \
                    port:php5-mbstring \
                    port:php5-sockets \
                    port:php5-mysql \

master_sites        sourceforge:project/${name}/${name}/${version}

checksums           sha1    89a8c08babb2b87e71ca0ca10c0635282870c9f0 \
                    rmd160  fba15abdb1b060da7d2705a075069f2bb7aa2332

use_configure       no

build               {}
supported_archs     noarch

destroot.violate_mtree yes

destroot {
    set docpath ${destroot}${prefix}/www/${name}
    xinstall -m 755 -d ${docpath}/html
    eval file copy [glob ${workpath}/${distname}/*] ${docpath}/html
}