Changeset 143109


Ignore:
Timestamp:
Dec 4, 2015, 6:43:43 AM (3 years ago)
Author:
ryandesign@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/roundcubemail/Portfile

    r92279 r143109  
    55
    66name                roundcubemail
    7 version             0.7
     7version             1.1.3
    88categories          www mail php
    99license             GPL-2+
     
    2121
    2222platforms           darwin freebsd
    23 depends_run         port:php5-web \
    24                     port:php5-mbstring \
    25                     port:php5-sockets \
    26                     port:php5-mysql \
     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}
    2741
    2842master_sites        sourceforge:project/${name}/${name}/${version}
    2943
    30 checksums           sha1    89a8c08babb2b87e71ca0ca10c0635282870c9f0 \
    31                     rmd160  fba15abdb1b060da7d2705a075069f2bb7aa2332
     44checksums           rmd160  e4301d85004cc5986743ef16e3c4ea2c3f8dd9fd \
     45                    sha256  343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34
    3246
    3347use_configure       no
     
    4155    set docpath ${destroot}${prefix}/www/${name}
    4256    xinstall -m 755 -d ${docpath}/html
    43     eval file copy [glob ${workpath}/${distname}/*] ${docpath}/html
     57    file copy {*}[glob ${workpath}/${distname}/*] ${docpath}/html
    4458}
Note: See TracChangeset for help on using the changeset viewer.