# -*- 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-SPL_Types
version             0.4.0
categories          php devel
platforms           darwin
maintainers         ryandesign openmaintainer
license             PHP-3.01

php.branches        5.3 5.4 5.5 5.6
php.pecl            yes

description         Standard PHP Library, Types Addon

long_description    SPL Types is a collection of special typehandling classes.

checksums           rmd160  340e17da428e3ae410046c97d7650afa0da81b3a \
                    sha256  b44101401b2664822fd17e6f491d912203496108ff9d0b86b043bff67c5f724f

use_parallel_build  yes

test.run            yes

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
    }
}
