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

Last change on this file was 153277, checked in by ryandesign@…, 14 months ago

php-http2: Update to 2.5.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 153277 2016-09-28 09:58:49Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-http2
8version         2.5.6
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
18# The http2 extension must load after the propro and raphf extensions.
19# https://bugs.php.net/bug.php?id=66155
20php.extension_ini z${php.extension_ini}
21
22description     Extended HTTP Support
23
24long_description \
25    This HTTP extension aims to provide a convenient and powerful \
26    set of functionality for one of PHPs major applications. \
27    It eases handling of HTTP urls, dates, redirects, headers and \
28    messages, provides means for negotiation of clients preferred \
29    language and charset, as well as a convenient way to send any \
30    arbitrary data with caching and resuming capabilities. \
31    It provides powerful request functionality, if built with CURL \
32    support. Parallel requests are available for PHP 5 and greater.
33
34dist_subdir     php5-http
35
36checksums       rmd160  054adc8c50ed2ed494d70c3ccf154746d2ee3333 \
37                sha256  8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4
38
39if {${name} ne ${subport}} {
40    conflicts           ${php}-http
41
42    depends_lib-append  port:curl \
43                        port:${php}-iconv \
44                        port:${php}-propro \
45                        port:${php}-raphf \
46                        port:zlib
47   
48    configure.args      --with-http \
49                        --with-http-libcurl-dir=${prefix} \
50                        --with-http-shared-deps \
51                        --with-http-zlib-dir=${prefix} \
52                        --without-http-libevent-dir
53   
54    configure.cppflags-append -DHAVE_ICONV
55
56    use_parallel_build  yes
57}
Note: See TracBrowser for help on using the repository browser.