summaryrefslogtreecommitdiff
path: root/net/php-xmlrpc
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-10-08 15:59:48 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-10-08 15:59:48 +0000
commitcf77b7e8c1cd59e945a5260063f37a52df4e0135 (patch)
tree62a39be28e3d6c65f140741215bea0c792e57044 /net/php-xmlrpc
parent7102a2e63354fadd5436060f07938e800e569b19 (diff)
downloadpkgsrc-cf77b7e8c1cd59e945a5260063f37a52df4e0135.tar.gz
Add package for PHP XML-RPC extension (both PHP4 and PHP5)
Diffstat (limited to 'net/php-xmlrpc')
-rw-r--r--net/php-xmlrpc/DESCR17
-rw-r--r--net/php-xmlrpc/Makefile32
2 files changed, 49 insertions, 0 deletions
diff --git a/net/php-xmlrpc/DESCR b/net/php-xmlrpc/DESCR
new file mode 100644
index 00000000000..a8d55669444
--- /dev/null
+++ b/net/php-xmlrpc/DESCR
@@ -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 --git a/net/php-xmlrpc/Makefile b/net/php-xmlrpc/Makefile
new file mode 100644
index 00000000000..ae0d0cce546
--- /dev/null
+++ b/net/php-xmlrpc/Makefile
@@ -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"