# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           php 1.1

name                php-raphf
maintainers         {ryandesign @ryandesign} openmaintainer
license             BSD

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
php.pecl            yes

if {[vercmp ${php.branch} 7.0] >= 0} {
    version         2.0.1
    revision        0
    checksums       rmd160  c561cb3e2e85477e066b2871fb44de38f36c8a1d \
                    sha256  da3566db17422e5ef08b7ff144162952aabc14cb22407cc6b1d2a2d095812bd0 \
                    size    16003
} else {
    version         1.1.2
    revision        0
    checksums       rmd160  6c760c788040e84cd1dedeb118062552ba83397f \
                    sha256  d35a49672e72d0e03751385e0b8fed02aededcacc5e3ec27c98a5849720483a7 \
                    size    15915
}

description         a reusable persistent handle and resource factory API

long_description    ${description}

if {${name} ne ${subport}} {
    configure.args  --enable-raphf
}
