[153207] trunk/dports/php/php-mailparse/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Sep 27 04:34:23 PDT 2016


Revision: 153207
          https://trac.macports.org/changeset/153207
Author:   ryandesign at macports.org
Date:     2016-09-27 04:34:23 -0700 (Tue, 27 Sep 2016)
Log Message:
-----------
php-mailparse: add php70-mailparse subport version 3.0.1

Modified Paths:
--------------
    trunk/dports/php/php-mailparse/Portfile

Modified: trunk/dports/php/php-mailparse/Portfile
===================================================================
--- trunk/dports/php/php-mailparse/Portfile	2016-09-27 11:26:57 UTC (rev 153206)
+++ trunk/dports/php/php-mailparse/Portfile	2016-09-27 11:34:23 UTC (rev 153207)
@@ -5,25 +5,32 @@
 PortGroup       php 1.1
 
 name            php-mailparse
-version         2.1.6
-revision        1
 license         PHP
 categories      php mail devel
 platforms       darwin
 maintainers     ryandesign openmaintainer
 
-php.branches    5.3 5.4 5.5 5.6
+php.branches    5.3 5.4 5.5 5.6 7.0
 php.pecl        yes
 
+if {[vercmp ${php.branch} 7] >= 0} {
+    version     3.0.1
+    revision    0
+    checksums   rmd160  d06d2d94f83b75065323fe03d204145490798348 \
+                sha256  42ee10de881a3739acf73ddef8800d80c3c57f70072f41bdb22e6e87ebc9cc62
+} else {
+    version     2.1.6
+    revision    1
+    checksums   rmd160  68b2fedcacda2850c10e3551131502429b8daee1 \
+                sha256  73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc
+}
+
 description     Email message manipulation
 
 long_description \
     Mailparse is an extension for parsing and working with email messages. \
     It can deal with rfc822 and rfc2045 (MIME) compliant messages.
 
-checksums       rmd160  68b2fedcacda2850c10e3551131502429b8daee1 \
-                sha256  73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc
-
 if {${name} ne ${subport}} {
     depends_run         port:${php}-mbstring
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160927/6a2c3b9e/attachment.html>


More information about the macports-changes mailing list