aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-11 19:59:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-11 19:59:42 +0000
commitced14b54836f10507ea4066316345b4b2f8a56d7 (patch)
tree99c65195e9c11e1b4451312a78c76db573acf84d
parent514053edd00806bc4c7fb78e64bfa6d31bd79602 (diff)
downloadports-ced14b54836f10507ea4066316345b4b2f8a56d7.tar.gz
ports-ced14b54836f10507ea4066316345b4b2f8a56d7.zip
PEAR::XML_Beautifier will add indentation and linebreaks to you XML files,
replace all entities, format your comments and makes your document easier to read. You can influence the way your document is beautified with several options. PR: ports/79402 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Notes
Notes: svn path=/head/; revision=133072
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pear-XML_Beautifier/Makefile27
-rw-r--r--textproc/pear-XML_Beautifier/distinfo2
-rw-r--r--textproc/pear-XML_Beautifier/pkg-descr7
4 files changed, 37 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index abb8d0e5bad4..2e9969d0cdf9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -501,6 +501,7 @@
SUBDIR += pardiff
SUBDIR += pdftohtml
SUBDIR += pear-Spreadsheet_Excel_Writer
+ SUBDIR += pear-XML_Beautifier
SUBDIR += pear-XML_HTMLSax
SUBDIR += perl2html
SUBDIR += php4-ctype
diff --git a/textproc/pear-XML_Beautifier/Makefile b/textproc/pear-XML_Beautifier/Makefile
new file mode 100644
index 000000000000..d28413d2f9b8
--- /dev/null
+++ b/textproc/pear-XML_Beautifier/Makefile
@@ -0,0 +1,27 @@
+# Ports collection makefile for: pear-XML_Beautifier
+# Date created: 31 March 2005
+# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML_Beautifier
+PORTVERSION= 1.1
+CATEGORIES= textproc devel pear
+
+MAINTAINER= antonio@php.net
+COMMENT= PEAR class to format XML documents
+
+BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
+ ${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= XML
+FILES= Beautifier/Renderer.php Beautifier/Tokenizer.php \
+ Beautifier/Renderer/Plain.php Beautifier.php
+EXAMPLES= example1.php example2.php example3.php example4.php example5.php \
+ example6.php test.xml
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/textproc/pear-XML_Beautifier/distinfo b/textproc/pear-XML_Beautifier/distinfo
new file mode 100644
index 000000000000..c5d4c95e16d4
--- /dev/null
+++ b/textproc/pear-XML_Beautifier/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/XML_Beautifier-1.1.tgz) = d121758edb840d9107debb26bb5837d7
+SIZE (PEAR/XML_Beautifier-1.1.tgz) = 9854
diff --git a/textproc/pear-XML_Beautifier/pkg-descr b/textproc/pear-XML_Beautifier/pkg-descr
new file mode 100644
index 000000000000..56eadf025a26
--- /dev/null
+++ b/textproc/pear-XML_Beautifier/pkg-descr
@@ -0,0 +1,7 @@
+PEAR::XML_Beautifier will add indentation and linebreaks to you XML files,
+replace all entities, format your comments and makes your document easier to
+read.
+
+You can influence the way your document is beautified with several options.
+
+WWW: http://pear.php.net/package/XML_Beautifier/