# -*- 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
platforms               darwin
maintainers             ryandesign openmaintainer
license                 PHP-3.01

php.branches            5.3 5.4 5.5 5.6 7.0 7.1
php.pecl                yes

if {[vercmp ${php.branch} 7] >= 0} {
    version             3.0.4
    revision            0
    checksums           rmd160  0c225c6a678e82f63451b977a56aee4c88d99bbe \
                        sha256  533129198f003752665199c1885932c0fec1c60a301d4716ff270217fa07f858
} else {
    version             2.3.5
    revision            0
    checksums           rmd160  faf6b0101dddcb94773956f83e817779f42c6b8a \
                        sha256  92b3cea149bce72ea9cc5bac64b03e357b5b1c04bd360df897c0d03afc83bd51
}

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

long_description        ${name} is ${description}.

use_parallel_build      yes
