aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-HTML_BBCodeParser
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-05-29 20:07:31 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-05-29 20:07:31 +0000
commitafa4f509e7b74e77ae99217d15732fcb0b8f2080 (patch)
tree9b10a27a7b1a1eb3ae622fc12b2e427d77ddac27 /devel/pear-HTML_BBCodeParser
parent54421110d575e9a2c1a10757de2d3887af5e70c7 (diff)
downloadports-afa4f509e7b74e77ae99217d15732fcb0b8f2080.tar.gz
ports-afa4f509e7b74e77ae99217d15732fcb0b8f2080.zip
Notes
Diffstat (limited to 'devel/pear-HTML_BBCodeParser')
-rw-r--r--devel/pear-HTML_BBCodeParser/Makefile31
-rw-r--r--devel/pear-HTML_BBCodeParser/distinfo2
-rw-r--r--devel/pear-HTML_BBCodeParser/pkg-descr9
3 files changed, 42 insertions, 0 deletions
diff --git a/devel/pear-HTML_BBCodeParser/Makefile b/devel/pear-HTML_BBCodeParser/Makefile
new file mode 100644
index 000000000000..827518339ca9
--- /dev/null
+++ b/devel/pear-HTML_BBCodeParser/Makefile
@@ -0,0 +1,31 @@
+# Ports collection makefile for: pear-HTML_BBCodeParser
+# Date created: 29 May 2004
+# Whom: Lewis Thompson <purple@lewiz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML_BBCodeParser
+PORTVERSION= 1.1
+CATEGORIES= devel www pear
+
+MAINTAINER= purple@lewiz.net
+COMMENT= Parser to replace UBB style tags with their HTML equivalents
+
+BUILD_DEPENDS= ${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= HTML
+FILES= BBCodeParser.php \
+ BBCodeParser/Filter/Basic.php \
+ BBCodeParser/Filter/Email.php \
+ BBCodeParser/Filter/Extended.php \
+ BBCodeParser/Filter/Images.php \
+ BBCodeParser/Filter/Links.php \
+ BBCodeParser/Filter/Lists.php
+EXAMPLES= BBCodeParser.ini parser.php
+_EXAMPLESDIR= BBCodeParser/example
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/devel/pear-HTML_BBCodeParser/distinfo b/devel/pear-HTML_BBCodeParser/distinfo
new file mode 100644
index 000000000000..213eb8e3a2d6
--- /dev/null
+++ b/devel/pear-HTML_BBCodeParser/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/HTML_BBCodeParser-1.1.tgz) = 0baca616b569dff6966ff6422b5ecdc4
+SIZE (PEAR/HTML_BBCodeParser-1.1.tgz) = 8821
diff --git a/devel/pear-HTML_BBCodeParser/pkg-descr b/devel/pear-HTML_BBCodeParser/pkg-descr
new file mode 100644
index 000000000000..b18d20f42e97
--- /dev/null
+++ b/devel/pear-HTML_BBCodeParser/pkg-descr
@@ -0,0 +1,9 @@
+This is a parser to replace UBB style tags with their html equivalents.
+It does not simply do some regex calls, but is complete stack based
+parse engine. This ensures that all tags are properly nested, if not,
+extra tags are added to maintain the nesting. This parser should only
+produce xhtml 1.0 compliant code. All tags are validated and so are all
+their attributes. It should be easy to extend this parser with your own
+tags.
+
+WWW: http://pear.php.net/package/HTML_BBCodeParser/