# -*- 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
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.]+)"}
}