# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0
PortGroup       php 1.1

name            php-inclued
version         0.1.3
license         PHP
categories      php devel
platforms       darwin
maintainers     ryandesign openmaintainer

php.branches    5.3 5.4
php.pecl        yes
php.pecl.prerelease yes

description     Clued-in about your inclueds

long_description \
    Allows you trace through and dump the hierarchy of file inclusions and \
    class inheritance at runtime.

checksums       rmd160  9987e9eb7bd9d1787aa54304e76e8a8b9f59b245 \
                sha256  89d7324b164b739b53d5290c7ec99d8e05522e76db0885bda4b4a693113b4a28

if {${name} != ${subport}} {
    use_parallel_build  yes
    
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 ${worksrcpath}/INSTALL ${destroot}${docdir}
    }
}