[108240] trunk/dports/php

sean at macports.org sean at macports.org
Tue Jul 16 17:46:33 PDT 2013


Revision: 108240
          https://trac.macports.org/changeset/108240
Author:   sean at macports.org
Date:     2013-07-16 17:46:33 -0700 (Tue, 16 Jul 2013)
Log Message:
-----------
php-code-coverage: add php port group and update to 1.2.12

Added Paths:
-----------
    trunk/dports/php/php-code-coverage/
    trunk/dports/php/php-code-coverage/Portfile

Removed Paths:
-------------
    trunk/dports/php/php5-code-coverage/

Added: trunk/dports/php/php-code-coverage/Portfile
===================================================================
--- trunk/dports/php/php-code-coverage/Portfile	                        (rev 0)
+++ trunk/dports/php/php-code-coverage/Portfile	2013-07-17 00:46:33 UTC (rev 108240)
@@ -0,0 +1,44 @@
+# -*- 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
+# $Id$
+
+PortSystem              1.0
+PortGroup               php 1.1
+
+name                    php-code-coverage
+set cap_name            PHP_CodeCoverage
+version                 1.2.12
+categories-append       devel
+maintainers             nomaintainer
+license                 BSD
+
+homepage                https://github.com/sebastianbergmann/php-code-coverage/
+master_sites            http://pear.phpunit.de/get/
+distname                ${cap_name}-${version}
+extract.suffix          .tgz
+platforms               darwin freebsd
+checksums               rmd160  245d5f25b0373cbaeaa9be7a62c32a52fc8baf53 \
+                        sha256  e33bf29710944edc2ea53765551565848533ab9caf75c3c06666e5de6d1ac05f
+description             code coverage information for PHP
+long_description \
+    PHP_CodeCoverage is a library that provides collection, processing, and rendering \
+    functionality for PHP code coverage information.
+
+php.branches            5.3 5.4 5.5
+
+php.build_dirs
+
+if {${name} ne ${subport}} {
+    depends_lib-append  port:${php}-file-iterator port:${php}-token-stream \
+                        port:${php}-text-template
+
+    destroot {
+        xinstall -d ${destroot}${prefix}/lib/php
+        file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
+    }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}tags
+    livecheck.regex     {/([0-9.]+)"}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130716/0703c92c/attachment.html>


More information about the macports-changes mailing list