diff --git a/textproc/Makefile b/textproc/Makefile index 5ca26a205917..d318196ce9d0 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -657,6 +657,7 @@ SUBDIR += pear-Numbers_Words SUBDIR += pear-Spreadsheet_Excel_Writer SUBDIR += pear-XML_Beautifier + SUBDIR += pear-XML_DTD SUBDIR += pear-XML_HTMLSax SUBDIR += pear-XML_Wddx SUBDIR += pecl-ctemplate diff --git a/textproc/pear-XML_DTD/Makefile b/textproc/pear-XML_DTD/Makefile new file mode 100644 index 000000000000..6a693424b2ad --- /dev/null +++ b/textproc/pear-XML_DTD/Makefile @@ -0,0 +1,31 @@ +# Ports collection makefile for: pear-XML_DTD +# Date created: 2006/07/31 +# Whom: chinsan +# +# $FreeBSD$ +# + +PORTNAME= XML_DTD +PORTVERSION= 0.4.2 +CATEGORIES= textproc devel pear + +MAINTAINER= chinsan.tw@gmail.com +COMMENT= Parsing of DTD files and DTD validation of XML files + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \ + ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_DOS2UNIX= yes + +CATEGORY= XML +FILES= DTD/XmlValidator.php DTD.php +TESTS= attributes.dtd attributes_bad.xml attributes_good.xml \ + children.dtd children_bad.xml children_good.xml \ + content.dtd content_bad.xml content_good.xml \ + nitf-3-1.dtd nitf-fishing.xml package-1.0 package-1.1.dtd \ + test.php TOTEST xhtml1-strict.dtd + +.include +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/textproc/pear-XML_DTD/distinfo b/textproc/pear-XML_DTD/distinfo new file mode 100644 index 000000000000..634a25f6b208 --- /dev/null +++ b/textproc/pear-XML_DTD/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/XML_DTD-0.4.2.tgz) = e920218231845ed64b56f293a2a3480c +SHA256 (PEAR/XML_DTD-0.4.2.tgz) = ca3964ec7253166b478edf18ef9c6e1dc21e883b80d8c19f2b135a33ebf48550 +SIZE (PEAR/XML_DTD-0.4.2.tgz) = 33790 diff --git a/textproc/pear-XML_DTD/pkg-descr b/textproc/pear-XML_DTD/pkg-descr new file mode 100644 index 000000000000..5b5e69ef4332 --- /dev/null +++ b/textproc/pear-XML_DTD/pkg-descr @@ -0,0 +1,9 @@ +PEAR::XML_DTD parsing of DTD files and DTD validation of XML files. +The XML validation is done with the php sax parser, the xml extension, it +does not use the domxml extension. + +Currently supports most of the current XML spec, including entities, +elements and attributes. Some uncommon parts of the spec may still be +unsupported. + +WWW: http://pear.php.net/package/XML_DTD/