# -*- 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 75726 2011-02-05 20:46:56Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     htscanner 1.0.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               sha1    d57e68827d8f1a82d91d1db4871e40023b4bb753 \
                        rmd160  c781c09fd1bd4a803a3f79c41b107dfe221cfc55

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