summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:21:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:21:11 +0000
commit82a8dbed15e081b908fa4a2cc0e16fed65b221f3 (patch)
treebe35f3f4d4b8156cf562b923d304e7923ab43ead
parentUpdate to 0.5.17 (diff)
New port: PEAR XML utility class
Selection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more. PR: ports/56360 Submitted by: Home Sweet Home, Inc.
Notes
Notes: svn path=/head/; revision=88706
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-XML_Util/Makefile38
-rw-r--r--devel/pear-XML_Util/distinfo1
-rw-r--r--devel/pear-XML_Util/pkg-descr6
-rw-r--r--devel/pear-XML_Util/pkg-plist57
5 files changed, 103 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c2c9f47cc3ef..94c15c00e874 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -801,6 +801,7 @@
SUBDIR += pear-HTML_Template_IT
SUBDIR += pear-I18N
SUBDIR += pear-PEAR
+ SUBDIR += pear-XML_Util
SUBDIR += pedisassem
SUBDIR += perforce
SUBDIR += perltidy
diff --git a/devel/pear-XML_Util/Makefile b/devel/pear-XML_Util/Makefile
new file mode 100644
index 000000000000..ab824f122b64
--- /dev/null
+++ b/devel/pear-XML_Util/Makefile
@@ -0,0 +1,38 @@
+# Ports collection makefile for: pear-XML_Util
+# Date created: 03 September 2003
+# Whom: Alex Miller (<asm@asm.kiev.ua>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML_Util
+PORTVERSION= 0.2
+CATEGORIES= devel www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR XML utility class
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+TESTDIR= ${PEARDIR}/tests/${PORTNAME}
+
+do-install:
+ @${MKDIR} ${PEARDIR}/XML
+ @${CP} -p ${WRKSRC}/Util.php ${PEARDIR}/XML
+ @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XML/Util.php
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -Rp ${WRKSRC}/apidoc/* ${DOCSDIR}
+ @${MKDIR} ${TESTDIR}
+ @${CP} -Rp ${WRKSRC}/examples/* ${TESTDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
+ @${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
+ @${ECHO_MSG} " (These tests require PHPUnit - see"
+ @${ECHO_MSG} " <http://pear.php.net/package-info.php?package=PHPUnit>;;)."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/pear-XML_Util/distinfo b/devel/pear-XML_Util/distinfo
new file mode 100644
index 000000000000..685c10ee1707
--- /dev/null
+++ b/devel/pear-XML_Util/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/XML_Util-0.2.tgz) = 07cd16ea2b5159aeaed4dcb0a9b2d55c
diff --git a/devel/pear-XML_Util/pkg-descr b/devel/pear-XML_Util/pkg-descr
new file mode 100644
index 000000000000..f1551ebbdadf
--- /dev/null
+++ b/devel/pear-XML_Util/pkg-descr
@@ -0,0 +1,6 @@
+Selection of methods that are often needed when working with
+XML documents. Functionality includes creating of attribute
+lists from arrays, creation of tags, validation of XML names
+and more.
+
+WWW: http://pear.php.net/package-info.php?package=XML_Util
diff --git a/devel/pear-XML_Util/pkg-plist b/devel/pear-XML_Util/pkg-plist
new file mode 100644
index 000000000000..f11f026f8805
--- /dev/null
+++ b/devel/pear-XML_Util/pkg-plist
@@ -0,0 +1,57 @@
+%%PEARDIR%%/XML/Util.php
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%PEARDIR%%/tests/XML_Util/example.php
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/elementindex_XML_Util.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/blank.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/errors.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/packages.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/classtrees_XML_Util.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/index.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/todolist.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/elementindex.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/li_XML_Util.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/XML_Util/XML_Util.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/XML_Util/_Util_XML_XML_Util_php.html
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/banner.css
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/stylesheet.css
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Class.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Constant.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Constructor.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Destructor.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Function.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Global.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/I.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Index.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/L.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Lminus.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Lplus.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Method.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Page.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/PrivateClass.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/PrivateMethod.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/PrivateVariable.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/T.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Tminus.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Tplus.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/Variable.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/blank.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/class_folder.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/file.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/folder.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/function_folder.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/next_button.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/next_button_disabled.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/package.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/package_folder.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/previous_button.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/previous_button_disabled.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/tutorial.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/tutorial_folder.png
+%%PORTDOCS%%%%PEARDIR%%/docs/XML_Util/media/images/up_button.png
+@dirrm %%PEARDIR%%/XML
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_Util/media/images
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_Util/media
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_Util/XML_Util
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_Util
+%%PORTDOCS%%@dirrm %%PEARDIR%%/tests/XML_Util