aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/pear-XML_RPC2/Makefile56
-rw-r--r--net/pear-XML_RPC2/distinfo6
-rw-r--r--net/pear-XML_RPC2/pkg-descr12
3 files changed, 51 insertions, 23 deletions
diff --git a/net/pear-XML_RPC2/Makefile b/net/pear-XML_RPC2/Makefile
index 0185db99486d..e968b6e7c329 100644
--- a/net/pear-XML_RPC2/Makefile
+++ b/net/pear-XML_RPC2/Makefile
@@ -1,31 +1,53 @@
-# Ports collection makefile for: pear-XML_RPC
-# Date created: 7 Feb 2007
-# Whom: Alex Dupre <ale@FreeBSD.org>
+# Ports collection makefile for: pear-XML_RPC2
+# Date created: 11 September 2008
+# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
-PORTNAME= XML_RPC
-PORTVERSION= 1.5.1
-PORTREVISION= 1
+PORTNAME= XML_RPC2
+PORTVERSION= 1.0.5
CATEGORIES= net devel pear
-MAINTAINER= miwi@FreeBSD.org
-COMMENT= PHP implementation of the XML-RPC protocol
+MAINTAINER= wenheping@gmail.com
+COMMENT= XML-RPC client/server library
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
+ ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
RUN_DEPENDS= ${BUILD_DEPENDS}
-USE_PHP= xml
+USE_PHP= curl
CATEGORY= XML
-FILES= RPC.php RPC/Server.php RPC/Dump.php
-TESTS= allgot.inc empty-value-struct.php empty-value.php \
- extra-lines.php protoport.php test_Dump.php types.php
-
-post-extract:
- @${MKDIR} ${WRKSRC}/RPC
- @${MV} ${WRKSRC}/Server.php ${WRKSRC}/Dump.php ${WRKSRC}/RPC
+FILES= XML/RPC2/Backend/Php/Value/Array.php \
+ XML/RPC2/Backend/Php/Value/Base64.php \
+ XML/RPC2/Backend/Php/Value/Boolean.php \
+ XML/RPC2/Backend/Php/Value/Datetime.php \
+ XML/RPC2/Backend/Php/Value/Double.php \
+ XML/RPC2/Backend/Php/Value/Integer.php \
+ XML/RPC2/Backend/Php/Value/Scalar.php \
+ XML/RPC2/Backend/Php/Value/String.php \
+ XML/RPC2/Backend/Php/Value/Struct.php \
+ XML/RPC2/Backend/Php/Client.php \
+ XML/RPC2/Backend/Php/Request.php \
+ XML/RPC2/Backend/Php/Response.php \
+ XML/RPC2/Backend/Php/Server.php \
+ XML/RPC2/Backend/Php/Value.php \
+ XML/RPC2/Backend/Xmlrpcext/Client.php \
+ XML/RPC2/Backend/Xmlrpcext/Server.php \
+ XML/RPC2/Backend/Xmlrpcext/Value.php \
+ XML/RPC2/Server/CallHandler/Class.php \
+ XML/RPC2/Server/CallHandler/Instance.php \
+ XML/RPC2/Server/CallHandler.php \
+ XML/RPC2/Server/Method.php \
+ XML/RPC2/Util/HTTPRequest.php \
+ XML/RPC2/Backend.php \
+ XML/RPC2/CachedClient.php \
+ XML/RPC2/CachedServer.php \
+ XML/RPC2/Client.php \
+ XML/RPC2/Exception.php \
+ XML/RPC2/Server.php \
+ XML/RPC2/Value.php
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
diff --git a/net/pear-XML_RPC2/distinfo b/net/pear-XML_RPC2/distinfo
index 054cbcabdd3f..2771fd251ccb 100644
--- a/net/pear-XML_RPC2/distinfo
+++ b/net/pear-XML_RPC2/distinfo
@@ -1,3 +1,3 @@
-MD5 (PEAR/XML_RPC-1.5.1.tgz) = 1b516162ad65971b5fd04a7c279627ec
-SHA256 (PEAR/XML_RPC-1.5.1.tgz) = a5b517eef799df148d6c85ab19e188715a22c069f4507dcb792e5efb7d0f117e
-SIZE (PEAR/XML_RPC-1.5.1.tgz) = 32215
+MD5 (PEAR/XML_RPC2-1.0.5.tgz) = 001a4f13006c52b20b998780ac8a764f
+SHA256 (PEAR/XML_RPC2-1.0.5.tgz) = afbe97570ab87c8d3d32b4c9a680e741948a01604d0833f974a09c7aa6e0ae68
+SIZE (PEAR/XML_RPC2-1.0.5.tgz) = 49522
diff --git a/net/pear-XML_RPC2/pkg-descr b/net/pear-XML_RPC2/pkg-descr
index 2df4a18b393a..865cbe2f195c 100644
--- a/net/pear-XML_RPC2/pkg-descr
+++ b/net/pear-XML_RPC2/pkg-descr
@@ -1,5 +1,11 @@
-A PEAR-ified version of Useful Inc's XML-RPC for PHP.
+XML_RPC2 is a pear package providing XML_RPC client and server
+services.XML-RPC is a simple remote procedure call protocol built
+using HTTP as transport and XML as encoding.
-It has support for HTTP/HTTPS transport, proxies and authentication.
+As a client library, XML_RPC2 is capable of creating a proxy
+class which exposes the methods exported by the server. As a
+server library, XML_RPC2 is capable of exposing methods from
+a class or object instance, seamlessly exporting local methods
+as remotely callable procedures.
-WWW: http://pear.php.net/package/XML_RPC/
+WWW: http://pear.php.net/package/XML_RPC2/