# -*- 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-yaf
categories-append       net devel
maintainers             {ryandesign @ryandesign} openmaintainer
license                 PHP-3.01

php.branches            5.3 5.4 5.5 5.6 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.0]} {
    version             3.3.6
    revision            0
    checksums           rmd160  d6093d76626947f578cb02a03e2b6075925735f4 \
                        sha256  7056dba64f4a6346402cdcfa228aacfbbc67487b9afa05e689d778300cc8a738 \
                        size    134030
} else {
    version             2.3.5
    revision            0
    checksums           rmd160  faf6b0101dddcb94773956f83e817779f42c6b8a \
                        sha256  92b3cea149bce72ea9cc5bac64b03e357b5b1c04bd360df897c0d03afc83bd51 \
                        size    104743
}

description             a fast php framework written in c, built in php-ext

long_description        ${name} is ${description}.

use_parallel_build      yes
