# -*- 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 61501 2009-12-13 12:48:05Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup pecl_http 1.6.6 pecl
revision        1
php5extension.extensions http
name            php5-http
categories      php www
platforms       darwin
maintainers     nox openmaintainer
description     Extended HTTP Support

long_description \
    This HTTP extension aims to provide a convenient and powerful \
    set of functionality for one of PHPs major applications. \
    It eases handling of HTTP urls, dates, redirects, headers and \
    messages, provides means for negotiation of clients preferred \
    language and charset, as well as a convenient way to send any \
    arbitrary data with caching and resuming capabilities. \
    It provides powerful request functionality, if built with CURL \
    support. Parallel requests are available for PHP 5 and greater.

checksums       md5     5e676c1fbda74014cab699893fe2702c \
                sha1    39e52a904e2642838f077975d9b5ab9203f3ee3f \
                rmd160  b2fd3adce03c0bf4d901d68feb8230d386f6f148

depends_lib-append \
    port:curl \
    port:zlib

configure.args  --with-http-curl-requests=${prefix} \
                --with-http-zlib-compression=${prefix} \
                --without-http-curl-libevent

use_parallel_build  yes
