# $Id$

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     htscanner 0.9.0 pecl
categories-append       www
platforms               darwin
maintainers             ryandesign

description             a PHP extension to enable the use of per-directory \
                        htaccess-like PHP configuration files

long_description        ${name} is ${description}, especially useful when \
                        using PHP as a FastCGI executable.

checksums               md5     ad8f28e4cdfec6d3a5a990e1531a1a12 \
                        sha1    7aacd63b56df54a1b465fe1e0e30a91ede91f3af \
                        rmd160  2dc035d98d3caa0054fafbe3fc12b04caed6b7dc

use_parallel_build      yes

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} CREDITS README docs/htscanner.ini ${destroot}${prefix}/share/doc/${name}
}

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