# -*- 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
maintainers ryandesign openmaintainer
php.branches 5.3 5.4 5.5 5.6
# The http2 extension must load after the propro and raphf extensions.
# https://bugs.php.net/bug.php?id=66155
php.extension_ini z${php.extension_ini}
description Extended HTTP Support
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 rmd160 054adc8c50ed2ed494d70c3ccf154746d2ee3333 \
sha256 8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4
if {${name} ne ${subport}} {
depends_lib-append port:curl \
configure.args --with-http \
--with-http-libcurl-dir=${prefix} \
--with-http-shared-deps \
--with-http-zlib-dir=${prefix} \
--without-http-libevent-dir
configure.cppflags-append -DHAVE_ICONV