# $Id: Portfile 80011 2011-07-01 22:07:53Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup hidef 0.1.9 pecl
license         PHP
categories      php devel
platforms       darwin
maintainers     nomaintainer
description     Constants for real

long_description \
    Allow definition of user defined constants in simple ini files, which are \
    then processed like internal constants, without any of the usual \
    performance penalties.

checksums       sha1    1cf42602d7d6c2f72f4919433c6ca1a3113315d1 \
                rmd160  506f4b1e082111bcb4d50a62bcd9983d6b026b20

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}
}

livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
