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

Last change on this file was 113894, checked in by ryandesign@…, 4 years ago

php-http: fix livecheck to only find version 1.x (php-http2 is for version 2.x)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 113894 2013-11-25 07:40:59Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-http
8version         1.7.6
9revision        1
10categories      php www
11platforms       darwin
12maintainers     ryandesign openmaintainer
13license         BSD
14
15php.branches    5.3 5.4 5.5
16php.pecl        yes
17php.pecl.name   pecl_http
18
19description     Extended HTTP Support
20
21long_description \
22    This HTTP extension aims to provide a convenient and powerful \
23    set of functionality for one of PHPs major applications. \
24    It eases handling of HTTP urls, dates, redirects, headers and \
25    messages, provides means for negotiation of clients preferred \
26    language and charset, as well as a convenient way to send any \
27    arbitrary data with caching and resuming capabilities. \
28    It provides powerful request functionality, if built with CURL \
29    support. Parallel requests are available for PHP 5 and greater.
30
31checksums       rmd160  bd873c720f36944b219eac8c3b44fa4b9164c21a \
32                sha256  e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983
33
34if {${name} ne ${subport}} {
35    conflicts           ${php}-http2
36   
37    depends_lib-append  port:curl \
38                        port:libmagic \
39                        port:zlib
40   
41    configure.args      --enable-http \
42                        --with-http-curl-requests=${prefix} \
43                        --with-http-magic-mime=${prefix} \
44                        --with-http-zlib-compression=${prefix} \
45                        --without-http-curl-libevent
46   
47    use_parallel_build  yes
48}
49
50livecheck.regex {>(1\.[0-9.]+)</a></th>\s*<[^>]+>stable<}
Note: See TracBrowser for help on using the repository browser.