aboutsummaryrefslogtreecommitdiff
path: root/www/pecl-pecl_http
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-19 22:24:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-19 22:24:53 +0000
commit697724596424f4f38a24548e48f7b5e97bedc3cd (patch)
tree4875dae20c376c433ffbc5c42690e314341ac165 /www/pecl-pecl_http
parent141c46bfcb30b19d85f91f2b8098fa7a72868cb9 (diff)
downloadports-697724596424f4f38a24548e48f7b5e97bedc3cd.tar.gz
ports-697724596424f4f38a24548e48f7b5e97bedc3cd.zip
Notes
Diffstat (limited to 'www/pecl-pecl_http')
-rw-r--r--www/pecl-pecl_http/Makefile17
-rw-r--r--www/pecl-pecl_http/distinfo5
2 files changed, 8 insertions, 14 deletions
diff --git a/www/pecl-pecl_http/Makefile b/www/pecl-pecl_http/Makefile
index 55c654d664b9..7aa08f35dd4d 100644
--- a/www/pecl-pecl_http/Makefile
+++ b/www/pecl-pecl_http/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= pecl_http
-PORTVERSION= 0.22.0
-CATEGORIES= www
+DISTVERSION= 1.0.0RC1
+CATEGORIES= www pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
@@ -16,26 +16,21 @@ DIST_SUBDIR= PECL
MAINTAINER= zaa@zaa.pp.ru
COMMENT= A PHP extension which provides extended HTTP request/response handling
-USE_PHP= session zlib
+USE_PHP= session hash iconv
USE_PHPIZE= yes
USE_PHPEXT= yes
+USE_PHP_BUILD= yes
DEFAULT_PHP_VER=5
PHP_MODNAME= http
-RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/security/pecl-hash
-
CONFIGURE_ARGS= --enable-http
OPTIONS= CURL "Enable cURL HTTP requests" on \
MAGIC_MIME "Enable response content type guessing" off \
- ZLIB_COMPRESSION "Enable support for encoded message bodies" on
+ ZLIB_COMPRESSION "Enable support for encoded message bodies" off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-IGNORE= does not build on FreeBSD <= 4.x
-.endif
-
.if defined(WITH_CURL)
LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=--with-http-curl-requests=${LOCALBASE}
@@ -50,7 +45,7 @@ CONFIGURE_ARGS+=--with-http-magic-mime=${LOCALBASE}
CONFIGURE_ARGS+=--without-http-magic-mime
.endif
-.if defined(WITH_ZLIB_COMPRESSION)
+.if defined(WITH_ZLIB_COMPRESSION) && ${OSVERSION} < 500000
CONFIGURE_ARGS+=--with-http-zlib-compression=/usr
.else
CONFIGURE_ARGS+=--without-http-zlib-compression
diff --git a/www/pecl-pecl_http/distinfo b/www/pecl-pecl_http/distinfo
index f7681d12384a..18268f0fc152 100644
--- a/www/pecl-pecl_http/distinfo
+++ b/www/pecl-pecl_http/distinfo
@@ -1,3 +1,2 @@
-MD5 (PECL/pecl_http-0.22.0.tgz) = 849d667960cafa06787baac03c873fbf
-SHA256 (PECL/pecl_http-0.22.0.tgz) = 7d6901c5858dde4c39740afb789ad13abdf4a79c69911ec6100d1cfdfb2d7bbd
-SIZE (PECL/pecl_http-0.22.0.tgz) = 163358
+MD5 (PECL/pecl_http-1.0.0RC1.tgz) = 3b820091c9867e53c32ec09f17ccb970
+SIZE (PECL/pecl_http-1.0.0RC1.tgz) = 177518