aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/pear-XML_DTD/Makefile9
-rw-r--r--textproc/pear-XML_DTD/pkg-descr11
2 files changed, 11 insertions, 9 deletions
diff --git a/textproc/pear-XML_DTD/Makefile b/textproc/pear-XML_DTD/Makefile
index 246800a18aaa..5c9b84932469 100644
--- a/textproc/pear-XML_DTD/Makefile
+++ b/textproc/pear-XML_DTD/Makefile
@@ -7,9 +7,12 @@ CATEGORIES= textproc devel pear
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Parsing of DTD files and DTD validation of XML files
-BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:devel/pear-XML_Parser@${PHP_FLAVOR}
-RUN_DEPENDS= ${PEARDIR}/XML/Parser.php:devel/pear-XML_Parser@${PHP_FLAVOR}
+LICENSE= BSD2CLAUSE
-USES= dos2unix pear
+RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}XML_Parser>=1.3.1:devel/pear-XML_Parser@${PHP_FLAVOR}
+
+USES= pear
+
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/pear-XML_DTD/pkg-descr b/textproc/pear-XML_DTD/pkg-descr
index 8f7ba391ba61..d5f47d42deba 100644
--- a/textproc/pear-XML_DTD/pkg-descr
+++ b/textproc/pear-XML_DTD/pkg-descr
@@ -1,9 +1,8 @@
-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.
+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.
+Currently supports most of the current XML spec, including entities, elements
+and attributes. Some uncommon parts of the spec may still be unsupported.
WWW: https://pear.php.net/package/XML_DTD