source: trunk/dports/php/php-code-coverage/Portfile

Last change on this file was 108700, checked in by ryandesign@…, 4 years ago

set svn:keywords to Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 108700 2013-07-31 04:29:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-code-coverage
8set cap_name            PHP_CodeCoverage
9version                 1.2.12
10categories-append       devel
11maintainers             nomaintainer
12license                 BSD
13
14homepage                https://github.com/sebastianbergmann/php-code-coverage/
15master_sites            http://pear.phpunit.de/get/
16distname                ${cap_name}-${version}
17extract.suffix          .tgz
18platforms               darwin freebsd
19checksums               rmd160  245d5f25b0373cbaeaa9be7a62c32a52fc8baf53 \
20                        sha256  e33bf29710944edc2ea53765551565848533ab9caf75c3c06666e5de6d1ac05f
21description             code coverage information for PHP
22long_description \
23    PHP_CodeCoverage is a library that provides collection, processing, and rendering \
24    functionality for PHP code coverage information.
25
26php.branches            5.3 5.4 5.5
27
28php.build_dirs
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:${php}-file-iterator port:${php}-token-stream \
32                        port:${php}-text-template
33
34    destroot {
35        xinstall -d ${destroot}${prefix}/lib/php
36        file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
37    }
38
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${homepage}tags
43    livecheck.regex     {/([0-9.]+)"}
44}
Note: See TracBrowser for help on using the repository browser.