source: trunk/dports/www/roundcubemail/Portfile

Last change on this file was 143109, checked in by ryandesign@…, 2 years ago

roundcubemail: update to 1.1.3 (#44878; maintainer timeout); add php54 php55 php56 variants; use expansion operator instead of eval

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 143109 2015-12-04 06:43:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                roundcubemail
7version             1.1.3
8categories          www mail php
9license             GPL-2+
10maintainers         mathiesen.info:macintosh
11
12description         Roundcube webmail
13long_description    This project is a free and open source webmail solution with a desktop-like \
14                    user interface which is easy to install/configure and that runs on a standard \
15                    LAMPP server. The skins use the latest web standards such as XHTML and CSS 2. \
16                    Roundcube includes other sophisticated open-source libraries such as PEAR, \
17                    an IMAP library derived from IlohaMail the TinyMCE rich text editor, \
18                    Googiespell library for spell checking or the WasHTML sanitizer by Frederic Motte.
19
20homepage            http://roundcube.net/
21
22platforms           darwin freebsd
23
24# The php variants deliberately do not conflict
25
26foreach php {php54 php55 php56} {
27    eval [subst {
28        variant ${php} description "Use ${php}" {
29            depends_run-append  port:${php}-mbstring \
30                                port:${php}-mysql \
31                                port:${php}-sockets
32            # Also needs dependency on ${php}-web pending resolution of:
33            # https://trac.macports.org/ticket/45008
34        }
35    }]
36}
37
38if {![variant_isset php54] && ![variant_isset php55] && ![variant_isset php56]} {
39    default_variants +php56
40}
41
42master_sites        sourceforge:project/${name}/${name}/${version}
43
44checksums           rmd160  e4301d85004cc5986743ef16e3c4ea2c3f8dd9fd \
45                    sha256  343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34
46
47use_configure       no
48
49build               {}
50supported_archs     noarch
51
52destroot.violate_mtree yes
53
54destroot {
55    set docpath ${destroot}${prefix}/www/${name}
56    xinstall -m 755 -d ${docpath}/html
57    file copy {*}[glob ${workpath}/${distname}/*] ${docpath}/html
58}
Note: See TracBrowser for help on using the repository browser.