Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 09:38:17 -0300 (BRT)
From:      Antonio Carlos Venancio Junior <antonio@php.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81992: [maintainer update] devel/pear-XML_Serializer to 0.16.0
Message-ID:  <200506071238.j57CcH7d015342@digitalsign.com>
Resent-Message-ID: <200506071240.j57CeRBB096676@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81992
>Category:       ports
>Synopsis:       [maintainer update] devel/pear-XML_Serializer to 0.16.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 07 12:40:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #8: Fri Jun  3 18:40:02 BRT 2005     root@antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ update port: devel/pear-XML_Serializer to 0.16.0
  + changelog: http://pear.php.net/package/XML_Serializer/download/0.16.0/
+ update pkg-descr
>How-To-Repeat:
>Fix:
diff -ruN pear-XML_Serializer.orig/Makefile pear-XML_Serializer/Makefile
--- pear-XML_Serializer.orig/Makefile	Tue Jun  7 09:02:41 2005
+++ pear-XML_Serializer/Makefile	Tue Jun  7 09:22:22 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	XML_Serializer
-PORTVERSION=	0.15.0
+PORTVERSION=	0.16.0
 CATEGORIES=	devel www pear
 
 MAINTAINER=	antonio@php.net
@@ -16,18 +16,31 @@
 		${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"
diff -ruN pear-XML_Serializer.orig/distinfo pear-XML_Serializer/distinfo
--- pear-XML_Serializer.orig/distinfo	Tue Jun  7 09:02:41 2005
+++ pear-XML_Serializer/distinfo	Tue Jun  7 09:03:12 2005
@@ -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
diff -ruN pear-XML_Serializer.orig/pkg-descr pear-XML_Serializer/pkg-descr
--- pear-XML_Serializer.orig/pkg-descr	Tue Jun  7 09:02:41 2005
+++ pear-XML_Serializer/pkg-descr	Tue Jun  7 09:08:18 2005
@@ -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_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.
 
-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.
+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.
+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/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506071238.j57CcH7d015342>