PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
PR: ports/130293
Submitted by: Wen Heping <wenheping at gmail.com>
2009-01-26 20:32:43 +01:00
|
|
|
# Ports collection makefile for: pear-HTTP_Request2
|
|
|
|
# Date created: 08 Jan 2009
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= HTTP_Request2
|
2012-05-03 16:28:39 +02:00
|
|
|
PORTVERSION= 2.1.1
|
2011-10-23 18:01:30 +02:00
|
|
|
PORTEPOCH= 1
|
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
PR: ports/130293
Submitted by: Wen Heping <wenheping at gmail.com>
2009-01-26 20:32:43 +01:00
|
|
|
CATEGORIES= www pear
|
|
|
|
|
2009-08-22 23:32:00 +02:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
PR: ports/130293
Submitted by: Wen Heping <wenheping at gmail.com>
2009-01-26 20:32:43 +01:00
|
|
|
COMMENT= PEAR classes providing an easy way to perform HTTP requests
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PEARDIR}/Net/URL2.php:${PORTSDIR}/net/pear-Net_URL2
|
2011-10-23 18:01:30 +02:00
|
|
|
RUN_DEPENDS= ${PEARDIR}/Net/URL2.php:${PORTSDIR}/net/pear-Net_URL2
|
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
PR: ports/130293
Submitted by: Wen Heping <wenheping at gmail.com>
2009-01-26 20:32:43 +01:00
|
|
|
|
|
|
|
OPTIONS= CURL "PHP CURL extension support" off \
|
|
|
|
FILEINFO "PHP FILEINFO extension support" off \
|
|
|
|
ZLIB "PECL ZLIB support" off
|
|
|
|
|
2011-10-14 14:01:34 +02:00
|
|
|
PEAR_AUTOINSTALL= yes
|
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
PR: ports/130293
Submitted by: Wen Heping <wenheping at gmail.com>
2009-01-26 20:32:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_CURL)
|
|
|
|
USE_PHP+= curl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FILEINFO)
|
|
|
|
USE_PHP+= fileinfo
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_ZLIB)
|
|
|
|
USE_PHP+= zlib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
|
|
|
.include <bsd.port.post.mk>
|