aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:38:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 06:00:10 +0000
commitab4835b807d5c92da682916fb60af3c84df0620f (patch)
tree58481e28b28ebb468efc8f33a019aaa93bfb7f80
parent5654c6c9098a3d57bfc84aae4c4d0311c78a85ae (diff)
downloadports-ab4835b807d5c92da682916fb60af3c84df0620f.tar.gz
ports-ab4835b807d5c92da682916fb60af3c84df0620f.zip
textproc/pear-XML_DTD: Change the way *_DEPENDS are set
- Add LICENSE - Remove BUILD_DEPENDS - Remove USES=dos2unix - Add NO_ARCH
-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