aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:29:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 06:00:04 +0000
commita9a0e698ff763586cc582a5572888016bc1235b4 (patch)
treed32798c0b494bd201a7fb7015d4eb574ae206f6d
parent6e47d94d470552abba2e10423a8b9e1316fbc7e7 (diff)
downloadports-a9a0e698ff763586cc582a5572888016bc1235b4.tar.gz
ports-a9a0e698ff763586cc582a5572888016bc1235b4.zip
devel/pear-PhpDocumentor: Add LICENSE
- Remove duplicate BUILD_DEPENDS and RUN_DEPENDS - Add NO_ARCH - Use CONFLICTS_INSTALL instead of CONFLICTS - Change the way *_DEPENDS are set - Clean up no-op post-extract:
-rw-r--r--devel/pear-PhpDocumentor/Makefile18
-rw-r--r--devel/pear-PhpDocumentor/pkg-descr4
2 files changed, 10 insertions, 12 deletions
diff --git a/devel/pear-PhpDocumentor/Makefile b/devel/pear-PhpDocumentor/Makefile
index c6d88ac12c0d..961bc44c6171 100644
--- a/devel/pear-PhpDocumentor/Makefile
+++ b/devel/pear-PhpDocumentor/Makefile
@@ -7,20 +7,18 @@ CATEGORIES= devel www pear
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides automatic documenting of php-api from the source
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:devel/pear@${PHP_FLAVOR}
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-CONFLICTS= pear-PHPDoc-[0-9]*
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= pear
+
+NO_ARCH= yes
+
+CONFLICTS_INSTALL= pear-PHPDoc
+
OPTIONS_DEFINE= XML_BEAUTIFIER
XML_BEAUTIFIER_DESC= XML_Beautifier support
-XML_BEAUTIFIER_RUN_DEPENDS= ${PEARDIR}/XML/Beautifier.php:textproc/pear-XML_Beautifier@${PHP_FLAVOR}
-
-post-extract:
-.for dir in ${DUMMYDIRS}
- ${TOUCH} ${WRKSRC}/${dir}/.peardummy
-.endfor
+XML_BEAUTIFIER_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}XML_Beautifier>=1.1:textproc/pear-XML_Beautifier@${PHP_FLAVOR}
.include <bsd.port.mk>
diff --git a/devel/pear-PhpDocumentor/pkg-descr b/devel/pear-PhpDocumentor/pkg-descr
index 6dce8bd36304..eb7238bc8389 100644
--- a/devel/pear-PhpDocumentor/pkg-descr
+++ b/devel/pear-PhpDocumentor/pkg-descr
@@ -2,7 +2,7 @@ The phpDocumentor tool is a standalone auto-documentor similar to JavaDoc
written in PHP. It differs from PHPDoc in that it is MUCH faster, parses a much
wider range of php files, and comes with many customizations including 11 HTML
templates, Windows help file CHM output, PDF output, and XML DocBook peardoc2
-output for use with documenting PEAR. In addition, it can do PHPXref source
-code highlighting and linking.
+output for use with documenting PEAR. In addition, it can do PHPXref source code
+highlighting and linking.
WWW: https://pear.php.net/package/PhpDocumentor