# $Id: Portfile 62596 2010-01-11 22:45:27Z nox@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup hidef 0.1.2 pecl
license         PHP
categories      php devel
platforms       darwin
maintainers     nox openmaintainer
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       md5     d99a9091ebaab9b0ba8efeaccaf261ca \
                sha1    f2501c6a7b695e599fb53f2846aadc0731a54ad7 \
                rmd160  b1d15603501f332a1377ed035f501ce361b7a860

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