# -*- 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-yaz
version                 1.2.2
categories-append       net databases devel
platforms               darwin
maintainers             {ryandesign @ryandesign} openmaintainer
license                 PHP

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

description             PHP/PECL extension for the Z39.50 protocol

long_description        This extension implements a Z39.50 client \
                        for PHP using the YAZ toolkit.

checksums               rmd160  a9702ad81085f955af793e1c9e246d30537cf3a1 \
                        sha256  3a88d7d5c9a3ba3399afeb3a8da32d0c5ff16e69f13a25cbaa2a669d805bb28e

if {${name} ne ${subport}} {
    depends_lib-append  port:re2c port:yaz
}