# -*- 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
# $Id: Portfile 101149 2013-01-05 11:12:33Z pixilla@macports.org $

PortSystem          1.0
PortGroup           php 1.1

name                php-SPL_Types
version             0.4.0
license             PHP
categories          php devel
platforms           darwin
maintainers         ryandesign openmaintainer
license				PHP-3.01

php.branches        5.3 5.4 5.5
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} != ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
    }
}
