summaryrefslogtreecommitdiff
path: root/www/php-http
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-09-13 08:28:18 +0000
committerfhajny <fhajny@pkgsrc.org>2013-09-13 08:28:18 +0000
commit0e63067ddfc70401e37467e70c49c5762a86f927 (patch)
tree02f1added5cff3e806d37fa2485fc10cb9d11534 /www/php-http
parent03c28f9c510275ef601d79bb3bb8ebb075f1ff34 (diff)
downloadpkgsrc-0e63067ddfc70401e37467e70c49c5762a86f927.tar.gz
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.
Diffstat (limited to 'www/php-http')
-rw-r--r--www/php-http/DESCR7
-rw-r--r--www/php-http/Makefile26
-rw-r--r--www/php-http/distinfo5
3 files changed, 38 insertions, 0 deletions
diff --git a/www/php-http/DESCR b/www/php-http/DESCR
new file mode 100644
index 00000000000..e514ae49421
--- /dev/null
+++ b/www/php-http/DESCR
@@ -0,0 +1,7 @@
+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.
diff --git a/www/php-http/Makefile b/www/php-http/Makefile
new file mode 100644
index 00000000000..1a128ef2707
--- /dev/null
+++ b/www/php-http/Makefile
@@ -0,0 +1,26 @@
+# $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"
diff --git a/www/php-http/distinfo b/www/php-http/distinfo
new file mode 100644
index 00000000000..2040c3e3d36
--- /dev/null
+++ b/www/php-http/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/13 08:28:18 fhajny Exp $
+
+SHA1 (php-http/pecl_http-1.7.6.tgz) = 44e28b6d2d9d352c5b949f14bc4dd612e4365c85
+RMD160 (php-http/pecl_http-1.7.6.tgz) = bd873c720f36944b219eac8c3b44fa4b9164c21a
+Size (php-http/pecl_http-1.7.6.tgz) = 174722 bytes