1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Update to 1.0.0RC1

Submitted by:	Alexander Zhuravlev <zaa@ulstu.ru> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-03-19 22:24:53 +00:00
parent 141c46bfcb
commit 6977245964
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157689
2 changed files with 8 additions and 14 deletions

View File

@ -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

View File

@ -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