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

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

php-http2: rename extension ini file so that it loads alphabetically after its dependencies

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