[101646] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Tue Jan 15 20:02:42 PST 2013


Revision: 101646
          https://trac.macports.org/changeset/101646
Author:   ryandesign at macports.org
Date:     2013-01-15 20:02:42 -0800 (Tue, 15 Jan 2013)
Log Message:
-----------
php-excel: update to 0.9.8; distfiles now hosted by ilia.ws instead of github

Modified Paths:
--------------
    trunk/dports/php/php-excel/Portfile
    trunk/dports/php/php5-excel/Portfile

Modified: trunk/dports/php/php-excel/Portfile
===================================================================
--- trunk/dports/php/php-excel/Portfile	2013-01-16 03:57:35 UTC (rev 101645)
+++ trunk/dports/php/php-excel/Portfile	2013-01-16 04:02:42 UTC (rev 101646)
@@ -5,26 +5,27 @@
 PortGroup           github 1.0
 PortGroup           php 1.1
 
-github.setup        iliaal php_excel 0.9.7
+github.setup        iliaal php_excel 0.9.8
 name                php-excel
 categories-append   textproc
 platforms           darwin
 maintainers         ryandesign openmaintainer
 license             PHP-3.01
 
-php.branches        5.3 5.4
+php.branches        5.3 5.4 5.5
 
 description         PHP interface to LibXL for reading and writing \
                     Microsoft Excel spreadsheets
 
 long_description    ${name} is a ${description}.
 
-github.tarball_from downloads
+master_sites        http://ilia.ws/patch/
 use_bzip2           yes
 distfiles           [suffix php-excel-${version}]
+worksrcdir          excel-${version}
 
-checksums           rmd160  dda8c3770a90092c587cb097a576c539278ad382 \
-                    sha256  4808c954f38e1baa272fdff4c889f4ee3ded202daafe26205c0d0f19bde49542
+checksums           rmd160  c3157ad62f77f291c99d2f641205d03834f3bd20 \
+                    sha256  d5bb1e1c2d1b612770081a716d4e8cac25e8b31be6918eb1e310b836cac6bbe4
 
 if {${name} != ${subport}} {
     depends_lib-append  port:libxl
@@ -35,7 +36,13 @@
     
     configure.args      --with-libxl-incdir=${prefix}/include/libxl-c \
                         --with-libxl-libdir=${prefix}/lib
+    
+    post-destroot {
+        xinstall -d ${destroot}${prefix}/share/doc
+        copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog README.markdown ${destroot}${prefix}/share/doc/${subport}
+    }
 }
 
-livecheck.url       ${homepage}/downloads
-livecheck.regex     php-excel-(\[0-9.\]+)${extract.suffix}
+livecheck.url       ${github.raw}/master/ChangeLog
+livecheck.regex     {Version ([0-9.]+)}

Modified: trunk/dports/php/php5-excel/Portfile
===================================================================
--- trunk/dports/php/php5-excel/Portfile	2013-01-16 03:57:35 UTC (rev 101645)
+++ trunk/dports/php/php5-excel/Portfile	2013-01-16 04:02:42 UTC (rev 101646)
@@ -2,9 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           php5extension 1.0
 
-php5extension.setup excel 0.9.7
+github.setup        iliaal php_excel 0.9.8
+php5extension.setup excel ${version}
 categories-append   textproc
 platforms           darwin
 maintainers         ryandesign openmaintainer
@@ -15,13 +17,13 @@
 
 long_description    ${name} is a ${description}.
 
-homepage            https://github.com/iliaal/php_excel
-master_sites        https://github.com/downloads/iliaal/php_excel/
+master_sites        http://ilia.ws/patch/
 use_bzip2           yes
 distfiles           [suffix php-excel-${version}]
+worksrcdir          excel-${version}
 
-checksums           rmd160  dda8c3770a90092c587cb097a576c539278ad382 \
-                    sha256  4808c954f38e1baa272fdff4c889f4ee3ded202daafe26205c0d0f19bde49542
+checksums           rmd160  c3157ad62f77f291c99d2f641205d03834f3bd20 \
+                    sha256  d5bb1e1c2d1b612770081a716d4e8cac25e8b31be6918eb1e310b836cac6bbe4
 
 depends_lib-append  port:libxl
 
@@ -32,5 +34,11 @@
 configure.args      --with-libxl-incdir=${prefix}/include/libxl-c \
                     --with-libxl-libdir=${prefix}/lib
 
-livecheck.url       ${homepage}/downloads
-livecheck.regex     php-excel-(\[0-9.\]+)${extract.suffix}
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/doc
+    copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
+    xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog README.markdown ${destroot}${prefix}/share/doc/${subport}
+}
+
+livecheck.url       ${github.raw}/master/ChangeLog
+livecheck.regex     {Version ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130115/24ada354/attachment-0001.html>


More information about the macports-changes mailing list