aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-XML_Serializer/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 02:30:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 02:30:58 +0000
commite1782657ed897891b5f673fc5a370c6f8f72e1c7 (patch)
treee1974c33142b938838d64f0f1a3e3722e4fe7be5 /devel/pear-XML_Serializer/Makefile
parentf0b2ff48eb725052c7e1f214b55803bcc4c11206 (diff)
downloadports-e1782657ed897891b5f673fc5a370c6f8f72e1c7.tar.gz
ports-e1782657ed897891b5f673fc5a370c6f8f72e1c7.zip
New port: PEAR Swiss-army knive for reading and writing XML files
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. PR: ports/56448 Submitted by: Alex Miller <asm@asm.kiev.ua>
Notes
Notes: svn path=/head/; revision=88724
Diffstat (limited to 'devel/pear-XML_Serializer/Makefile')
-rw-r--r--devel/pear-XML_Serializer/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/pear-XML_Serializer/Makefile b/devel/pear-XML_Serializer/Makefile
new file mode 100644
index 000000000000..7a00e504184b
--- /dev/null
+++ b/devel/pear-XML_Serializer/Makefile
@@ -0,0 +1,37 @@
+# Ports collection makefile for: pear-XML_Serializer
+# Date created: 04 September 2003
+# Whom: Alex Miller (<asm@asm.kiev.ua>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML_Serializer
+PORTVERSION= 0.6
+CATEGORIES= devel www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR Swiss-army knive for reading and writing XML files
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
+ ${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+MANIFEST= Serializer.php Unserializer.php
+
+do-install:
+ @${MKDIR} ${PEARDIR}/XML
+.for FILE in ${MANIFEST}
+ @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/XML
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XML/${FILE}
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -Rp ${WRKSRC}/examples/* ${DOCSDIR}
+ @${ECHO_MSG} "===> Examples installed in ${DOCSDIR}."
+.endif
+
+.include <bsd.port.post.mk>