pkgsrc/www/php-http/Makefile
fhajny 83d0a842eb Import www/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.
2013-09-13 08:28:18 +00:00

26 lines
862 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/09/13 08:28:18 fhajny Exp $
MODNAME= http
PECL_VERSION= 1.7.6
CATEGORIES+= www
PECL_DISTNAME= pecl_http-${PECL_VERSION}
MAINTAINER= filip@joyent.com
HOMEPAGE= http://pecl.php.net/package/pecl_http
COMMENT= PHP extension for extended HTTP support
LICENSE= 2-clause-bsd AND isc
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"