git: ab4835b807d5 - main - textproc/pear-XML_DTD: Change the way *_DEPENDS are set

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Sep 19 06:07:50 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ab4835b807d5c92da682916fb60af3c84df0620f

commit ab4835b807d5c92da682916fb60af3c84df0620f
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:38:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-19 06:00:10 +0000

    textproc/pear-XML_DTD: Change the way *_DEPENDS are set
    
    - Add LICENSE
    - Remove BUILD_DEPENDS
    - Remove USES=dos2unix
    - Add NO_ARCH
---
 textproc/pear-XML_DTD/Makefile  |  9 ++++++---
 textproc/pear-XML_DTD/pkg-descr | 11 +++++------
 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 at 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


More information about the dev-commits-ports-all mailing list