source: trunk/dports/php/php-http2/Portfile @ 126105

Last change on this file since 126105 was 126105, checked in by ryandesign@…, 6 years ago

php-http2 and php-event no longer conflict

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 126105 2014-10-03 22:37:54Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-http2
8version         2.1.2
9categories      php www
10platforms       darwin
11maintainers     ryandesign openmaintainer
12license         BSD
13
14php.branches    5.3 5.4 5.5 5.6
15php.pecl        yes
16php.pecl.name   pecl_http
17
18description     Extended HTTP Support
19
20long_description \
21    This HTTP extension aims to provide a convenient and powerful \
22    set of functionality for one of PHPs major applications. \
23    It eases handling of HTTP urls, dates, redirects, headers and \
24    messages, provides means for negotiation of clients preferred \
25    language and charset, as well as a convenient way to send any \
26    arbitrary data with caching and resuming capabilities. \
27    It provides powerful request functionality, if built with CURL \
28    support. Parallel requests are available for PHP 5 and greater.
29
30dist_subdir     php5-http
31
32checksums       rmd160  6bc9375e090f3b7c616a0985fe13b106569c4c34 \
33                sha256  16c212e84a00a86ea0273001834fd365ff98e1639b369e3529268988a209e113
34
35if {${name} ne ${subport}} {
36    conflicts           ${php}-http
37
38    depends_lib-append  port:curl \
39                        port:${php}-iconv \
40                        port:${php}-propro \
41                        port:${php}-raphf \
42                        port:zlib
43   
44    configure.args      --with-http \
45                        --with-http-libcurl-dir=${prefix} \
46                        --with-http-shared-deps \
47                        --with-http-zlib-dir=${prefix} \
48                        --without-http-libevent-dir
49   
50    configure.cppflags-append -DHAVE_ICONV
51
52    use_parallel_build  yes
53}
Note: See TracBrowser for help on using the repository browser.