# -*- 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-psr
maintainers             {ryandesign @ryandesign} openmaintainer
license                 BSD

php.branches            7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
php.pecl                yes

if {[vercmp ${php.branch} >= 7.3]} {
    version             1.2.0
    revision            0
    checksums           rmd160  a6e30a2f9a4d584e7a7580590f5c4b1aa3efdeef \
                        sha256  9c3d2a0d9770916d86e2bc18dfe6513ad9b2bfe00f0d03c1531ef403bee38ebe \
                        size    28238
} elseif {[vercmp ${php.branch} >= 7.0]} {
    version             1.1.0
    revision            0
    checksums           rmd160  7aff462c8209f0c2d4557461c11b645e97b8b6a6 \
                        sha256  4feb8eeea4237894bcab1ea064cefc3421c909778d39c977184c16e725cfbfb2 \
                        size    28038
}

description             interfaces to PHP Standards Recommendations

long_description        ${name} provides ${description} so they can be used \
                        in an extension.

configure.args-append   --enable-psr
