# -*- 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-dbase
categories-append       databases
platforms               darwin
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
php.pecl                yes

description             a PHP interface for accessing dBase databases

long_description        ${description}

if {[vercmp ${php.branch} 7.0] >= 0} {
    version             7.1.1
    revision            0
    checksums           rmd160  76a81c554eb0c9dfb31e263016ca27c56f929c99 \
                        sha256  3fa095fa6249cee9dae4d2fa1c2bd8c69edaf08bd65d385fa3c0d49fd1b40051 \
                        size    37583
} else {
    version             5.1.1
    revision            0
    checksums           rmd160  f359d53863f7cf791c2a24e5fd92f0986f17da3c\
                        sha256  4474be791b302dc3ba34dc4f96cde626f81deb36a4d88dff5605bfbda8691439 \
                        size    20751
}
