# -*- 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 PortSystem 1.0 PortGroup php 1.1 name php-http2 categories php www platforms darwin maintainers {ryandesign @ryandesign} openmaintainer license BSD php.branches 5.3 5.4 5.5 5.6 php.pecl yes php.pecl.name pecl_http # 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 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. dist_subdir php5-http if {[vercmp ${php.branch} >= 5.3]} { version 2.6.0 revision 0 checksums rmd160 b27da93f43eed98d3678a2edc990df9a9b310b24 \ sha256 ddbf3eea3d1c7004a7dd83b5864aee5f87b1b6032bc281c08ccc62f83b9931ed \ size 217673 } if {${name} ne ${subport}} { conflicts ${php}-http depends_lib-append port:curl \ port:${php}-iconv \ port:${php}-propro \ port:${php}-raphf \ port:zlib 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 use_parallel_build yes } php.pecl.regex {(2\.[0-9.]+)}