# -*- 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 109488 2013-08-16 08:57:04Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           php5extension 1.0

php5extension.setup spl_types 0.4.0 pecl
name                php5-SPL_Types
categories          php devel
platforms           darwin
maintainers         ryandesign openmaintainer
license				PHP-3.01
homepage            http://pecl.php.net/package/SPL_Types

description         Standard PHP Library, Types Addon

long_description    SPL Types is a collection of special typehandling classes.

checksums           rmd160  340e17da428e3ae410046c97d7650afa0da81b3a \
                    sha256  b44101401b2664822fd17e6f491d912203496108ff9d0b86b043bff67c5f724f

distname            SPL_Types-${version}

use_parallel_build  yes

test.run            yes

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