[143109] trunk/dports/www/roundcubemail/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 08:35:45 PST 2015


Revision: 143109
          https://trac.macports.org/changeset/143109
Author:   ryandesign at macports.org
Date:     2015-12-03 22:43:43 -0800 (Thu, 03 Dec 2015)
Log Message:
-----------
roundcubemail: update to 1.1.3 (#44878; maintainer timeout); add php54 php55 php56 variants; use expansion operator instead of eval

Modified Paths:
--------------
    trunk/dports/www/roundcubemail/Portfile

Modified: trunk/dports/www/roundcubemail/Portfile
===================================================================
--- trunk/dports/www/roundcubemail/Portfile	2015-12-04 06:31:20 UTC (rev 143108)
+++ trunk/dports/www/roundcubemail/Portfile	2015-12-04 06:43:43 UTC (rev 143109)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                roundcubemail
-version             0.7
+version             1.1.3
 categories          www mail php
 license             GPL-2+
 maintainers         mathiesen.info:macintosh
@@ -20,15 +20,29 @@
 homepage            http://roundcube.net/
 
 platforms           darwin freebsd
-depends_run         port:php5-web \
-                    port:php5-mbstring \
-                    port:php5-sockets \
-                    port:php5-mysql \
 
+# The php variants deliberately do not conflict
+
+foreach php {php54 php55 php56} {
+    eval [subst {
+        variant ${php} description "Use ${php}" {
+            depends_run-append  port:${php}-mbstring \
+                                port:${php}-mysql \
+                                port:${php}-sockets
+            # 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]} {
+    default_variants +php56
+}
+
 master_sites        sourceforge:project/${name}/${name}/${version}
 
-checksums           sha1    89a8c08babb2b87e71ca0ca10c0635282870c9f0 \
-                    rmd160  fba15abdb1b060da7d2705a075069f2bb7aa2332
+checksums           rmd160  e4301d85004cc5986743ef16e3c4ea2c3f8dd9fd \
+                    sha256  343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34
 
 use_configure       no
 
@@ -40,5 +54,5 @@
 destroot {
     set docpath ${destroot}${prefix}/www/${name}
     xinstall -m 755 -d ${docpath}/html
-    eval file copy [glob ${workpath}/${distname}/*] ${docpath}/html
+    file copy {*}[glob ${workpath}/${distname}/*] ${docpath}/html
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/95184734/attachment.html>


More information about the macports-changes mailing list