- Update to 0.16.0

PR:		ports/81992
Submitted by:	Antonio Carlos Venancio Junior <antonio@php.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-06-07 13:22:54 +00:00
parent df5ba958ff
commit dd9d9ad05c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136991
3 changed files with 37 additions and 22 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= XML_Serializer
PORTVERSION= 0.15.0
PORTVERSION= 0.16.0
CATEGORIES= devel www pear
MAINTAINER= antonio@php.net
@ -16,19 +16,32 @@ BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
CATEGORY= XML
FILES= Serializer.php Unserializer.php
EXAMPLES= example.xml serializeAndEncode.php serializeAndReturn.php \
serializeArrayWithObjects.php serializeEmptyArray.php \
serializeIndexedArray.php serializeObject.php serializeRDF.php \
serializeWithAttributes.php serializeWithAttributes2.php \
serializeIndexedArray.php serializeNullProperties.php \
serializeObject.php serializeRDF.php serializeWithAttributes.php \
serializeWithAttributes2.php serializeWithComment.php \
serializeWithDtd.php serializeWithIndentedAttributes.php \
serializeWithNamespace.php serializeWithTagMap.php unserializeAnyXML.php \
unserializeClassNames.php unserializeEncoded.php unserializeEnum.php \
unserializeObject.php unserializeRDF.php unserializeWithAttributes.php
serializeWithNamespace.php serializeWithTagMap.php \
unserializeAnyXML.php unserializeClassNames.php \
unserializeEncoded.php unserializeEnum.php unserializeObject.php \
unserializeRDF.php unserializeWithAttributes.php \
unserializeWithTagMap.php
DOCS= todo.txt
_DOCSDIR= doc
post-extract:
.for file in ${FILES}
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
.endfor
.for file in ${EXAMPLES}
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/examples/${file}
.endfor
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
MD5 (PEAR/XML_Serializer-0.15.0.tgz) = 81b7a5b6e1ac6bde8bbf396187483e81
SIZE (PEAR/XML_Serializer-0.15.0.tgz) = 17218
MD5 (PEAR/XML_Serializer-0.16.0.tgz) = 67c45ebf1dab5ddc37b294436df734bb
SIZE (PEAR/XML_Serializer-0.16.0.tgz) = 19621

View file

@ -1,20 +1,22 @@
XML_Serializer serializes complex data structures like arrays or object
PEAR::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.
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.
unserialize() as it comes with a matching XML_Unserializer that is able to
create PHP data structures (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.
If you use the XML_Unserializer 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.
Since version 0.8 the package is able to treat XML documents like the
simplexml extension of PHP 5.
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.0 the package is able to treat XML documents similar to
the simplexml extension of PHP 5.
WWW: http://pear.php.net/package/XML_Serializer/