aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-04-12 03:59:42 +0800
committerpav <pav@FreeBSD.org>2005-04-12 03:59:42 +0800
commitee99b98a765ac99e94e27d8be0c8698f180463f9 (patch)
tree064dab3fb5941bf1bca14e270841820b5ae73482
parent71d6befe19ba0e4d529b37713131eb55b54f17a6 (diff)
downloadfreebsd-ports-gnome-ee99b98a765ac99e94e27d8be0c8698f180463f9.tar.gz
freebsd-ports-gnome-ee99b98a765ac99e94e27d8be0c8698f180463f9.tar.zst
freebsd-ports-gnome-ee99b98a765ac99e94e27d8be0c8698f180463f9.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>
-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/