pkgsrc-wip/php-http/Makefile
Filip Hajny 33952f1fff Import php5-http-5.2.9.1.6.5 as wip/php-http.
This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.

It eases handling of HTTP urls, dates, redirects, headers and
messages, provides means for negotiation of clients preferred
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.

It provides powerful request functionality, if built with CURL
support. Parallel requests are available for PHP 5 and greater.
2009-10-08 11:18:41 +00:00

26 lines
821 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/10/08 11:18:41 fhajny Exp $
MODNAME= http
PECL_VERSION= 1.6.5
CATEGORIES+= www
PECL_DISTNAME= pecl_http-${PECL_VERSION}
MAINTAINER= filip@joyent.com
COMMENT= PHP extension for extended HTTP support
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-http-[0-9]*
CONFIGURE_ARGS+= --with-http-curl-requests=${BUILDLINK_PREFIX.curl}
CONFIGURE_ARGS+= --with-http-curl-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+= --with-http-magic-mime=${BUILDLINK_PREFIX.file}
CONFIGURE_ARGS+= --with-http-zlib-compression=${BUILDLINK_PREFIX.zlib}
.include "../../lang/php/ext.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"