pkgsrc/www/php-http/Makefile

27 lines
876 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:46 tron Exp $
MODNAME= http
PKGREVISION= 1
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"