pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/php-xmlrpc Add package for PHP XML-RPC extension (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaa0b2b1d32e
branches:  trunk
changeset: 500446:aaa0b2b1d32e
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Oct 08 15:59:48 2005 +0000

description:
Add package for PHP XML-RPC extension (both PHP4 and PHP5)

diffstat:

 net/php-xmlrpc/DESCR    |  17 +++++++++++++++++
 net/php-xmlrpc/Makefile |  32 ++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r 4fcc81a645a0 -r aaa0b2b1d32e net/php-xmlrpc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/php-xmlrpc/DESCR      Sat Oct 08 15:59:48 2005 +0000
@@ -0,0 +1,17 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This PHP extension provides functions to write XML-RPC servers and clients.
+You can find more information about XML-RPC at http://www.xmlrpc.com/,
+and more documentation on this extension and its functions at home page.
+
+The user of this library will typically be implementing either an
+XMLRPC server, an XMLRPC client, or both. The client will use the
+library to build an in-memory representation of a request, and then
+serialize (encode) that request into XML. The client will then send
+the XML to the server via external mechanism. (XMLRPC-EPI does
+*not* include a transport layer, not even HTTP.) The server will
+de-serialize the XML back into an binary representation, call the
+appropriate registered method -- thereby generating a response.
+The response will be serialized into XML and sent back to the
+client. The client will de-serialize it into memory, and can iterate
+through the results via API.
diff -r 4fcc81a645a0 -r aaa0b2b1d32e net/php-xmlrpc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/php-xmlrpc/Makefile   Sat Oct 08 15:59:48 2005 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/08 15:59:48 jdolecek Exp $
+
+MODNAME=               xmlrpc
+CATEGORIES+=           net
+PKGREVISION=           # empty
+COMMENT=               PHP extension for XML-RPC support
+
+HOMEPAGE=              http://xmlrpc-epi.sourceforge.net/
+
+CONFIGURE_ARGS+=       --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+CONFIGURE_ARGS+=       --with-expat-dir=${BUILDLINK_PREFIX.expat}
+
+.include "../../converters/libiconv/buildlink3.mk"
+
+# This is necessary so that PHP would find either the libc iconv
+# or use the packaged iconv, as appropriate; using
+# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
+#
+CHECK_BUILTIN.iconv:=   yes
+.include "../../converters/libiconv/builtin.mk"
+CHECK_BUILTIN.iconv:=   no
+
+.if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \
+    !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
+CONFIGURE_ARGS+=        --with-iconv-dir=shared,${BUILDLINK_PREFIX.iconv}
+.else
+CONFIGURE_ARGS+=        --with-iconv-dir
+.endif
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index