Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2021 06:07:46 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ab4835b807d5 - main - textproc/pear-XML_DTD: Change the way *_DEPENDS are set
Message-ID:  <202109190607.18J67kcx053686@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ab4835b807d5c92da682916fb60af3c84df0620f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-19 05:38:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109190607.18J67kcx053686>