# Created by: Gasol Wu # $FreeBSD: head/devel/pear-PHP_CodeCoverage/Makefile 541764 2020-07-09 17:49:31Z joneum $ PORTNAME= PHP_CodeCoverage DISTVERSION= 5.2.2 CATEGORIES= devel pear MAINTAINER= miwi@FreeBSD.org COMMENT= Library that provides PHP code coverage information LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PEAR_PKGNAMEPREFIX}File_Iterator>=1.4.2:devel/pear-File_Iterator@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}Text_Template>=1.2.0:textproc/pear-Text_Template@${PHP_FLAVOR} RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}File_Iterator>=1.4.2:devel/pear-File_Iterator@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}Text_Template>=1.2.0:textproc/pear-Text_Template@${PHP_FLAVOR} USES= pear:env USE_GITHUB= yes GH_ACCOUNT= sebastianbergmann GH_PROJECT= php-code-coverage NO_BUILD= yes OPTIONS_DEFINE= DOM XDEBUG DOM_DESC= Enable DOM support XDEBUG_DESC= Enable Xdebug support DOM_USES= php DOM_USE= PHP=dom XDEBUG_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdebug.so:devel/pecl-xdebug@${PHP_FLAVOR} PHP_DIR= share/PHP PLIST_FILES= ${PHP_DIR}/${PORTNAME}/CodeCoverage.php do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME} ${INSTALL_SCRIPT} ${WRKSRC}/src/CodeCoverage.php \ ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME} .include