# -*- 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
# $Id: Portfile 88405 2011-12-31 01:08:37Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup uploadprogress 1.0.3.1 pecl
categories      php www devel
platforms       darwin
maintainers     nomaintainer
description     An extension to track progress of a file upload.

long_description \
    An extension to track progress of a file upload. It is only known to \
    work on Apache with mod_php, other SAPI implementations unfortunately \
    still have issues.

pre-fetch {
    if {![file exists ${prefix}/apache2/modules/libphp5.so]} {
        error "php5 must be built with the +apache2 variant enabled."
    }
}

checksums       rmd160  41eca2504c467a3bacc716db06ff8e42501586a8 \
                sha256  30588b4589543bcf6371532546b1a8cee9da1086c206aca9f96ea1bd486bbab2

use_parallel_build  yes

build.args          EXTRA_INCLUDES=-I${prefix}/include
