summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/pear-HTTP_Client/Makefile25
-rw-r--r--www/pear-HTTP_Client/distinfo2
-rw-r--r--www/pear-HTTP_Client/pkg-descr11
4 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 766048e..1570371 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -570,6 +570,7 @@
SUBDIR += peacock
SUBDIR += pear-APC
SUBDIR += pear-HTTP
+ SUBDIR += pear-HTTP_Client
SUBDIR += pear-HTTP_Download
SUBDIR += pear-HTTP_Header
SUBDIR += pear-HTTP_Request
diff --git a/www/pear-HTTP_Client/Makefile b/www/pear-HTTP_Client/Makefile
new file mode 100644
index 0000000..3f2a07a
--- /dev/null
+++ b/www/pear-HTTP_Client/Makefile
@@ -0,0 +1,25 @@
+# Ports collection makefile for: pear-HTTP_Client
+# Date created: 01 February 2005
+# Whom: Joseph Scott (<joseph@randomnetworks.com>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP_Client
+PORTVERSION= 1.0.0
+CATEGORIES= www pear
+
+MAINTAINER= joseph@randomnetworks.com
+COMMENT= PEAR classes for high level HTTP requests
+
+BUILD_DEPENDS= ${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= HTTP
+FILES= Client.php Client/CookieManager.php
+EXAMPLES= link-checker.php
+_EXAMPLESDIR= examples
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/www/pear-HTTP_Client/distinfo b/www/pear-HTTP_Client/distinfo
new file mode 100644
index 0000000..d37547a
--- /dev/null
+++ b/www/pear-HTTP_Client/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/HTTP_Client-1.0.0.tgz) = 4ae6973a6a3663abd9cdbe28ccaacdb4
+SIZE (PEAR/HTTP_Client-1.0.0.tgz) = 6396
diff --git a/www/pear-HTTP_Client/pkg-descr b/www/pear-HTTP_Client/pkg-descr
new file mode 100644
index 0000000..ff4ac85
--- /dev/null
+++ b/www/pear-HTTP_Client/pkg-descr
@@ -0,0 +1,11 @@
+The HTTP_Client class wraps around HTTP_Request and provides a higher level
+interface for performing multiple HTTP requests.
+
+Features:
+* Manages cookies and referrers between requests
+* Handles HTTP redirection
+* Has methods to set default headers and request parameters
+* Implements the Subject-Observer design pattern: the base class sends
+ events to listeners that do the response processing.
+
+WWW: http://pear.php.net/package/HTTP_Client/
OpenPOWER on IntegriCloud