aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-11-27 05:41:59 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-11-27 05:41:59 +0000
commit64ce329014dc18915eed3ab5cb709e0c3b48223e (patch)
treebf93f7047931f93a41738d851709f8e4eb210414
parentea59dba7f1fc17a91e55b54c2691365019533810 (diff)
downloadports-64ce329014dc18915eed3ab5cb709e0c3b48223e.tar.gz
ports-64ce329014dc18915eed3ab5cb709e0c3b48223e.zip
Update port: devel/pear-XML_Serializer to 0.13.1
+ update port: devel/pear-XML_Serializer to 0.13.1 + take maintainership + rewrite pkg-descr PR: ports/74434 Submitted by: Antônio Carlos Venâncio Júnior <antonio@php.net>
Notes
Notes: svn path=/head/; revision=122560
-rw-r--r--devel/pear-XML_Serializer/Makefile14
-rw-r--r--devel/pear-XML_Serializer/distinfo4
-rw-r--r--devel/pear-XML_Serializer/pkg-descr23
3 files changed, 26 insertions, 15 deletions
diff --git a/devel/pear-XML_Serializer/Makefile b/devel/pear-XML_Serializer/Makefile
index 1305deab8439..6987b9d44875 100644
--- a/devel/pear-XML_Serializer/Makefile
+++ b/devel/pear-XML_Serializer/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= XML_Serializer
-PORTVERSION= 0.13.0
+PORTVERSION= 0.13.1
CATEGORIES= devel www pear
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= antonio@php.net
COMMENT= PEAR Swiss-army knive for reading and writing XML files
BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
@@ -18,11 +18,11 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= XML
FILES= Serializer.php Unserializer.php
-EXAMPLES= example.xml serializeArrayWithObjects.php serializeEmptyArray.php \
- serializeIndexedArray.php serializeObject.php serializeRDF.php \
- serializeWithAttributes.php serializeWithAttributes2.php \
- serializeWithDtd.php serializeWithIndentedAttributes.php \
- serializeWithTagMap.php unserializeAnyXML.php unserializeEnum.php \
+EXAMPLES= example.xml serializeArrayWithObjects.php serializeEmptyArray.php \
+ serializeIndexedArray.php serializeObject.php serializeRDF.php \
+ serializeWithAttributes.php serializeWithAttributes2.php \
+ serializeWithDtd.php serializeWithIndentedAttributes.php \
+ serializeWithTagMap.php unserializeAnyXML.php unserializeEnum.php \
unserializeObject.php unserializeRDF.php unserializeWithAttributes.php
DOCS= todo.txt
_DOCSDIR= doc
diff --git a/devel/pear-XML_Serializer/distinfo b/devel/pear-XML_Serializer/distinfo
index 4c7ce9d00c04..4565d784cd86 100644
--- a/devel/pear-XML_Serializer/distinfo
+++ b/devel/pear-XML_Serializer/distinfo
@@ -1,2 +1,2 @@
-MD5 (PEAR/XML_Serializer-0.13.0.tgz) = aabb78ad96f3fb051530e135884e0c9c
-SIZE (PEAR/XML_Serializer-0.13.0.tgz) = 14920
+MD5 (PEAR/XML_Serializer-0.13.1.tgz) = 5d0e601c9925f5ae26218e87ca7a3e7e
+SIZE (PEAR/XML_Serializer-0.13.1.tgz) = 14997
diff --git a/devel/pear-XML_Serializer/pkg-descr b/devel/pear-XML_Serializer/pkg-descr
index c1b066d2cf00..c15d05dadeb6 100644
--- a/devel/pear-XML_Serializer/pkg-descr
+++ b/devel/pear-XML_Serializer/pkg-descr
@@ -1,9 +1,20 @@
XML_Serializer serializes complex data structures like arrays or object
-as XML documents. This class helps you generating any XML document you
-require without the need for DOM.
-Furthermore this package can be used as a replacement to serialize()
-und unserialize() as it comes with a matching XML_Unserializer that is
-able to create PHP data strcutures (like arrays and objects) from XML
-documents, if type hints are available.
+as XML documents.
+This class helps you generating any XML document you require without the
+need for DOM.
+Furthermore this package can be used as a replacement to serialize() and
+unserialize() as it comes with a matching XML_Unserializer that is able to
+create PHP data strcutures (like arrays and objects) from XML documents,
+if type hints are available.
+
+If you use the XML_Unserialzer on standard XML files, it will try to guess
+how it has to be unserialized. In most cases it does exactly what you
+expect it to do.
+Try reading a RSS file with XML_Unserializer and you have the whole RSS
+file in a structured array or even a collection of objects, similar to
+XML_RSS.
+
+Since version 0.8 the package is able to treat XML documents like the
+simplexml extension of PHP 5.
WWW: http://pear.php.net/package/XML_Serializer/